avcodec/rpza: Perform pointer advance and checks before using the pointers
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 21 Aug 2013 23:07:32 +0000 (01:07 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 6 Oct 2013 00:38:45 +0000 (02:38 +0200)
commit0dff3171ce102915812a3f5b42d4a865790b1b77
tree9566f38d71b7505e2516d1a025bf0a5ed5238720
parentff29290e265d2efb109fe8e1812f1269487871ca
avcodec/rpza: Perform pointer advance and checks before using the pointers

Fixes out of array accesses
Fixes Ticket2850

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 3819db745da2ac7fb3faacb116788c32f4753f34)

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