avcodec/vp3: Check for end of input in vp4_unpack_vlcs()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 2 Aug 2019 19:23:18 +0000 (21:23 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 3 Aug 2019 10:05:37 +0000 (12:05 +0200)
commit58c7f419ce757c3c741d6071e0dafcba7d875567
tree593632d2ac3804f3ab080e2de682a623115f9800
parentb4bf7226aff28e9ca379c5a3dedf745a2d316739
avcodec/vp3: Check for end of input in vp4_unpack_vlcs()

Fixes: Timeout (too long -> 1sec)
Fixes: 15232/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP3_fuzzer-5769583086010368

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/vp3.c