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>
Mon, 8 Jan 2018 22:19:14 +0000 (23:19 +0100)
commitb24b316e304567719aa195ee97b010ccf4057f91
tree8e1e1dd9b295f6c2726931108c950c860d76a508
parent3e3e42dbc4b7cd72d7ae2e122c5e1a64ceee527f
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