rawdec: only allocate a full-frame size buffer if it actually will
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Thu, 23 Sep 2010 20:23:15 +0000 (20:23 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Thu, 23 Sep 2010 20:23:15 +0000 (20:23 +0000)
commit2efcde73fccaeda948e64d5de4af3eb6205fd1c8
tree87d59f0361c437887e980f3c2088e16cb607b7ef
parent177477f57a6591f7ea772c4226532e1a83f7ad73
rawdec: only allocate a full-frame size buffer if it actually will
be used, place palette buffer in the context to simplify this.

Originally committed as revision 25163 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/rawdec.c