[FFmpeg-devel] [PATCH] paf: use reget_bufer() instead of get_buffer()

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Jul 30 21:15:14 CEST 2012


On Mon, Jul 30, 2012 at 01:03:50PM +0000, Paul B Mahol wrote:
> Pallete is written to frame->data[1] only if it changes.
> This fixes PAL8->PAL8 transcoding.

I think performance-wise it is likely to be better to leave it
at get_buffer and instead copy the palette in on every frame.
But if that's too much hassle this is ok as well I think, particularly
since the code seems to copying each and every frame at least once anyway.


More information about the ffmpeg-devel mailing list