]> git.sesse.net Git - ffmpeg/commit
avcodec/cfhd: Require valid setup before Lowpass coefficients, BandHeader and BandSec...
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 3 Apr 2021 13:19:22 +0000 (15:19 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 3 Apr 2021 17:27:21 +0000 (19:27 +0200)
commit3b88c88fa1888c47b0767d84bfebf1fd656c7846
treedd175b34ed48e7664dc97f7ea4e571ef35bbdd4e
parent20473a93d2a385a7137ef03e8b2604fa5e79eaa7
avcodec/cfhd: Require valid setup before Lowpass coefficients, BandHeader and BandSecondPass

Previously the code skipped all security checks when these where encountered but prior data was incorrect.
Also replace an always true condition by an assert

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/cfhd.c