avcodec/vp3: Check remaining bits in unpack_dct_coeffs()
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 1 May 2017 16:46:27 +0000 (18:46 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 1 May 2017 16:48:39 +0000 (18:48 +0200)
commit2f00300b779e7b247c85db0d7daef448225105ff
tree1139332097d6fbeb0748aa378f58fca417f539c0
parentb706ddbae3f4a11c58560b914807931556108b55
avcodec/vp3: Check remaining bits in unpack_dct_coeffs()

Decreases the time spend decoding junk.

May fix: 1283/clusterfuzz-testcase-minimized-6221126759874560

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vp3.c