proresenc: Properly account for alpha plane
authorChristophe Gisquet <christophe.gisquet@gmail.com>
Mon, 18 Aug 2014 14:15:24 +0000 (14:15 +0000)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 18 Aug 2014 16:58:01 +0000 (18:58 +0200)
commit41e1354c101004ccd46dc08d3dd6e956e83a6b51
treea5ca85bddb18baf38c2d352571e869db641ad00d
parent45ce880a9b3e50cfa088f111dffaf8685bd7bc6b
proresenc: Properly account for alpha plane

The packet buffer allocation considers the alpha channel as DCT-coded,
while it is actually run-coded and thus requires a larger buffer.

CC: libav-stable@libav.org
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/proresenc.c