error_concealment: Check that the picture is not in a half setup state.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 11 Jan 2013 03:44:20 +0000 (04:44 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 11 Jan 2013 03:46:49 +0000 (04:46 +0100)
commit23318a57358358e7a4dc551e830e4503f0638cfe
tree30a1f391c92520f4786057a2850b65ebe566cc6e
parent8b47058c61af83c28231b860d46ee754ed7a9310
error_concealment: Check that the picture is not in a half setup state.

Fixes state becoming inconsistent
Fixes a null pointer dereference

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/error_resilience.c