rpza: Fix a buffer size check
authorMartin Storsjö <martin@martin.st>
Sat, 28 Sep 2013 22:24:20 +0000 (01:24 +0300)
committerMartin Storsjö <martin@martin.st>
Sun, 29 Sep 2013 17:02:42 +0000 (20:02 +0300)
commit7ba0cedbfeff5671b264d1d7e90777057b5714c6
treec0c2c9aeffae4dcbac40e42fc5bf3a01e4ae0089
parentaa0dd52434768da64f1f3d8ae92bcf980c1adffc
rpza: Fix a buffer size check

We read 2 bytes for 15 out of 16 pixels, therefore we need to
have at least 30 bytes, not 16.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/rpza.c