[FFmpeg-devel] [PATCH] rawdec: do not unnecessarily allocate full-frame buffer

Michael Niedermayer michaelni
Tue Sep 21 21:52:24 CEST 2010


On Tue, Sep 21, 2010 at 07:15:53PM +0100, Reimar D?ffinger wrote:
> 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.

>  rawdec.c |   20 +++++++++++---------
>  1 file changed, 11 insertions(+), 9 deletions(-)
> bc1b224c82cf7e9e0b6b24d392a8faffcc827104  rawdec.diff

this should be ok if it fixes the bug and has been tested

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Thouse who are best at talking, realize last or never when they are wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100921/6a5a4275/attachment.pgp>



More information about the ffmpeg-devel mailing list