pictordec: fix cga palette index limit
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Feb 2013 17:31:05 +0000 (18:31 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Feb 2013 17:31:05 +0000 (18:31 +0100)
commit478fc7f57bac966fcd916419336b349028c549ec
tree817bf6797d2b17de470449de2f527eeec5eb305a
parentea1d8465e6eca582c09e2526f677033b62576fda
pictordec: fix cga palette index limit

Fixes out of array read

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