Always allocate a buffer of AVPALETTE_SIZE for palette in the subtitle
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Thu, 20 Aug 2009 18:54:50 +0000 (18:54 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Thu, 20 Aug 2009 18:54:50 +0000 (18:54 +0000)
commit29d7eef7dcfaf6cc6c97ac154e54c89f77507d86
tree018a1dda8b58075ed8149ae8cc419bef8ec82307
parent1b03a9d6073b3a4c62a44b56852762eb4b382dc4
Always allocate a buffer of AVPALETTE_SIZE for palette in the subtitle
decoders instead of as small as possible.
This avoids completely unnecessary issues with e.g. libswscale.

Originally committed as revision 19673 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/dvbsubdec.c
libavcodec/dvdsubdec.c
libavcodec/xsubdec.c