snow: Fix off by 1 error in reference picture management
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 3 May 2013 23:11:08 +0000 (01:11 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 3 May 2013 23:19:48 +0000 (01:19 +0200)
commit64819bfc7a1f622eab88c8962e02c9e2941bb42d
tree8a3167e4920050873a6304f9c6c11d58e7a6e669
parente756635964ed3aa1ee997465f9b46143bcb5d894
snow: Fix off by 1 error in reference picture management

Fixes out of array accesses
No release is affected by this bug

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