[FFmpeg-devel] [PATCH] rawdec: do not unnecessarily allocate full-frame buffer
Reimar Döffinger
Reimar.Doeffinger
Tue Sep 21 20:15:53 CEST 2010
Hello,
attached patch makes rawdec.c only allocate a buffer if it will
actually be used (2 and 4 bpp formats), adding a separate palette
to the context for use in the general PAL8 case.
make test passes, and I don't think it should break anything,
though I'll probably suggest a few more changes in a few days.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rawdec.diff
Type: text/x-diff
Size: 2408 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100921/b6ec87e3/attachment.diff>
More information about the ffmpeg-devel
mailing list