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

Måns Rullgård mans
Tue Sep 21 20:26:40 CEST 2010


Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:

> 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.

Thanks.  Did you verify that the valgrind error goes away too?

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list