avcodec/vp56: Consider the alpha start as end of the prior header
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 6 Aug 2019 21:30:02 +0000 (23:30 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 13 Aug 2019 14:48:38 +0000 (16:48 +0200)
commitdb78bc1297ebaa51cfe5c80775808ec11ed7512b
tree6bf50b297301c6876fc35a7022a4e114082e0c20
parenta3e572d96fd1dd6291f6b28e173db858c08ff8d8
avcodec/vp56: Consider the alpha start as end of the prior header

Fixes: Timeout (23sec -> 71ms)
Fixes: 15661/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP6A_fuzzer-6257865947348992

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vp56.c