OSDN Git Service

rpza: limit the number of blocks to the total remaining blocks in the frame
authorAnton Khirnov <anton@khirnov.net>
Thu, 28 Nov 2013 09:54:35 +0000 (10:54 +0100)
committerAnton Khirnov <anton@khirnov.net>
Mon, 10 Feb 2014 14:22:28 +0000 (15:22 +0100)
commit77bb0004bbe18f1498cfecdc68db5f10808b6599
tree5534c51ecfbe61d34abe6d0d75b01453224ae047
parenta46dc49744bdc4f2e31725b63ac8e41f701e4fa1
rpza: limit the number of blocks to the total remaining blocks in the frame

Fixes invalid writes.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
libavcodec/rpza.c