avcodec/vp56: Clear dimensions in case of failure in the middle of a resolution change
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 1 Mar 2017 03:28:23 +0000 (04:28 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 2 Mar 2017 02:16:18 +0000 (03:16 +0100)
commit4bed06637729ab000b79250c67d53078300e37c4
treeb0f183e8df777788d4ac3e53ac8bfd924ac243a4
parentf8060ab927f89db8844b1a0e0709159662e6167b
avcodec/vp56: Clear dimensions in case of failure in the middle of a resolution change

Similar code is used elsewhere in vp56 to force a more complete reinit in the future.
Fixes null pointer dereference
Fixes: 707/clusterfuzz-testcase-4717453097566208

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