lagarith: reallocate rgb_planes when needed
authorAnton Khirnov <anton@khirnov.net>
Thu, 28 Nov 2013 09:54:35 +0000 (10:54 +0100)
committerAnton Khirnov <anton@khirnov.net>
Tue, 4 Feb 2014 21:00:27 +0000 (22:00 +0100)
commit4c3e1956ee35fdcc5ffdb28782050164b4623c0b
treeb144927f3c2dab2a0cccd9e0607a2c4420050861
parent2240e2078d53d3cfce8ff1dda64e58fa72038602
lagarith: reallocate rgb_planes when needed

Fixes invalid writes on pixel format changes.

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