roqvideodec: improve end of input buffer check
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 2 Mar 2012 01:32:14 +0000 (02:32 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 2 Mar 2012 01:32:14 +0000 (02:32 +0100)
commit7a7b1f5c4d4127ff78bed67e786d03560a9cc199
treece3bd4a4da849a5a27e8ab8352131d03830f8086
parent1eb7f39c7b8172e02a7c95073036a2c327215db8
roqvideodec: improve end of input buffer check

This fixes a out of array read.

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