svq1dec: check that the reference frame matches in size before using it.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 7 Jan 2013 22:42:35 +0000 (23:42 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 7 Jan 2013 23:28:35 +0000 (00:28 +0100)
commit3b57bb478ff4455773378355e285877d757e151e
tree06d214c4aad5cec08d24bbc0539aa55f4d46ff79
parentdbf0a90572710976e3d8e77f76472465b84aba77
svq1dec: check that the reference frame matches in size before using it.

Fixes out of array reads

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