proresdec: Fix end condition
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 22 May 2013 17:44:12 +0000 (19:44 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 22 May 2013 18:24:50 +0000 (20:24 +0200)
commit30df9789a9745d8e4b1afc10d1a983bfc8816eb9
tree5b60c848c0909d09053899ecaa72da728b97295c
parentdf3ee7b9a9564c1b6193f4540db6e72656296118
proresdec: Fix end condition

Fixes out of array writes
No FFmpeg release is affected by this

This also fixes some artifacts

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/proresdec2.c
libavcodec/proresdec_lgpl.c
tests/ref/fate/prores-transparency