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>
Wed, 21 Aug 2013 23:26:02 +0000 (01:26 +0200)
commit3819db745da2ac7fb3faacb116788c32f4753f34
treeb69bfad58e653904130bcc8958528dceddd166ef
parent920046abf1928a394025f237eb888d267f12e14a
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>
libavcodec/rpza.c