ec: check that reference pictures have matching parameters before using them.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 21 Feb 2013 15:37:29 +0000 (16:37 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 21 Feb 2013 15:38:24 +0000 (16:38 +0100)
commit669d50b445960a7929cd4240bd1a086ab7843c92
treec2ed960dfc18f788b260e4328e2961f036896062
parentbdeb61ccc67911cfc5e20c7cfb1312d0501ca90a
ec: check that reference pictures have matching parameters before using them.

Fixes out of array reads

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