avcodec/vp56: Require a correctly decoded frame before using vp56_conceal_mb()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 2 Mar 2017 02:02:06 +0000 (03:02 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 4 Mar 2017 02:05:15 +0000 (03:05 +0100)
commit2ce4f28431623cdde4aa496fd10430f6c7bdef63
tree382e6e7ae5dabcb0ca8c5cb01b38fc5be018175a
parent4507f29e4a6a4363e0179c02bdb78d55e4d9a12c
avcodec/vp56: Require a correctly decoded frame before using vp56_conceal_mb()

Fixes timeout with 700/clusterfuzz-testcase-5660909504561152
Fixes timeout with 702/clusterfuzz-testcase-4553541576294400

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