avcodec/huffyuvdec: fix overread checks
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 11 Aug 2014 13:16:29 +0000 (15:16 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 11 Aug 2014 13:32:00 +0000 (15:32 +0200)
commitdbf5d7e5cd16d4f02b57c24922b1f77755c0427b
tree933285b5e18be673b5b9b9c3cc2a04831858fb04
parent6badd558ce19dffe8c3ea3e687812b933e0cb2ff
avcodec/huffyuvdec: fix overread checks

Fixes: ffvhuff_f.avi
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit ba47d519e537299179d20b9a599c5824589a3f7a)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/huffyuvdec.c