avcodec/snowdec: Check for remaining bitstream in decode_blocks()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 15 Nov 2017 20:17:16 +0000 (21:17 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 17 Nov 2017 19:37:41 +0000 (20:37 +0100)
commit4527ec2216109867498edc3ac8a17fd879b5d017
treee9d2822dd67c914d8d71c4097544cb7712982e83
parentc3b9bbcc6edf2d83fe4857484cfa0839872188c6
avcodec/snowdec: Check for remaining bitstream in decode_blocks()

Fixes: Timeout
Fixes: 3142/clusterfuzz-testcase-5007853163118592

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