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, 1 Dec 2017 23:28:59 +0000 (00:28 +0100)
commit12aea29a95960603c6777982d363ed644cabfb9a
tree8841fbf4008387cca4d3e493042e6d34a10ca47e
parentb8a10f10cc5ff6191bd63561cea740f6490366c3
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>
(cherry picked from commit 4527ec2216109867498edc3ac8a17fd879b5d017)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/snowdec.c