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>
Thu, 7 Feb 2013 00:00:02 +0000 (01:00 +0100)
commit3e196e4def03c7a91423803402f84d638d316c33
treec59b6c0884a645c49be86e8edbb53694a44fe515
parent2502914c5f8eb77659d7c0868396862557a63245
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>
(cherry picked from commit 23318a57358358e7a4dc551e830e4503f0638cfe)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/error_resilience.c