avcodec/vp56: Check for the bitstream end, pass error codes on
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 24 Jan 2017 21:21:25 +0000 (22:21 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 8 Feb 2017 19:32:01 +0000 (20:32 +0100)
commitc4a0b84b5886e49e63fd5ac83122697ecb991fb5
tree8eace3bc2540868fa207fab1c226143889393d3c
parent777f8b9fe1a0cf85beba1bbb0f0dd0ebb3073bae
avcodec/vp56: Check for the bitstream end, pass error codes on

Fixes timeout
Fixes: 446/fuzz-3-ffmpeg_VIDEO_AV_CODEC_ID_VP6_fuzzer

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 9e6a2427558a718be0c1fffacffd935f630a7a8d)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vp5.c
libavcodec/vp56.c
libavcodec/vp56.h
libavcodec/vp6.c