]> git.sesse.net Git - ffmpeg/commit
avcodec/vp3: Check that theora is theora
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 21 Jul 2019 22:41:06 +0000 (00:41 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 2 Aug 2019 19:13:41 +0000 (21:13 +0200)
commitb4bf7226aff28e9ca379c5a3dedf745a2d316739
tree5a747561ab522f69b347617620669f8584e79e1f
parent11f99a9a45925e14409eff65606973676d7376b6
avcodec/vp3: Check that theora is theora

Theora is forced to be non zero if it is zero and a sample
is asked for, as suggested by reimar

Fixes: Timeout (2min -> 600ms)
Fixes: 15366/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_THEORA_fuzzer-5737849938247680
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vp3.c