avcodec/msvideo1: Check buffer size before re-getting the frame
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 4 May 2017 13:24:46 +0000 (15:24 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 4 May 2017 15:15:43 +0000 (17:15 +0200)
commitcabfed6895fcc679cd6a6244a12d800e0f3f2d20
tree4d85241f56d8cb3cde3f5290f9233cf049616568
parent92f4a4bf29d730d853bbcb2d229b1695df5a1892
avcodec/msvideo1: Check buffer size before re-getting the frame

Fixes timeout
Fixes: 1306/clusterfuzz-testcase-minimized-6152296217968640

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