Always allocate a buffer of AVPALETTE_SIZE for palette in the
authorStephen Backway <stev391@exemail.com.au>
Wed, 26 Aug 2009 11:31:37 +0000 (11:31 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Wed, 26 Aug 2009 11:31:37 +0000 (11:31 +0000)
commit4a3178b0127e649a507c2d3b45fa16865ad93580
tree70ad2696dca849e91de2319dd44008b57188be47
parent7f4fca038dc8f3309be331c8c8f57f03e71c9f42
Always allocate a buffer of AVPALETTE_SIZE for palette in the
Bluray subtitle decoder instead of as small as possible.
This avoids completely unnecessary issues with e.g. libswscale.
(See r19673)

Patch by Stephen Backway, stev391 A exemail D com D au

Originally committed as revision 19714 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/pgssubdec.c