avcodec/vp8: Check for bitstream end before vp7_fade_frame()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 17 Feb 2018 03:20:52 +0000 (04:20 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 18 Feb 2018 22:28:53 +0000 (23:28 +0100)
commit603d23ffebdd6891167ad6c439e27517e7227a9d
treed8795b25091f4656a190da71bda4d9eb3aadef8b
parent09dad52390025b8ab73c4196cd616a7e4410cf32
avcodec/vp8: Check for bitstream end before vp7_fade_frame()

Fixes: Timeout
Fixes: 5653/clusterfuzz-testcase-5497680018014208

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 de675648cef7e451ca82fabaee0d8ec1fe653311)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vp8.c