gifdec: gif_copy_img_rect: Fix end pointer
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 24 Jan 2013 22:11:10 +0000 (23:11 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 24 Jan 2013 22:11:44 +0000 (23:11 +0100)
commitc10350358da58600884292c08a8690289b81de29
tree54fc3c5fc70add0f1837d4d97e2cb54fb7ade9c2
parentfc8e8e5bef323ffa20d391a9a19ba5eb31f673c5
gifdec: gif_copy_img_rect: Fix end pointer

Fixes out of array accesses

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