avcodec/smc: Check remaining input
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 25 May 2017 18:07:49 +0000 (20:07 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 5 Jun 2017 21:16:54 +0000 (23:16 +0200)
commit5529a6781709896cfa9afb8cc5bab011a651fbc0
tree8f51d2db0132bf56c5c0631dfe2bffdee4f403cd
parent345f29613583e886a9c9a614d79e64e6ebefeb3b
avcodec/smc: Check remaining input

Fixes: Timeout
Fixes: 1818/clusterfuzz-testcase-minimized-5039166473633792

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