[FFmpeg-devel] [PATCH] IFF: Make lavf/iff.c stop using ff_cmap_read_palette
Thu May 13 17:59:58 CEST 2010
On Thu, May 13, 2010 at 10:14:27AM -0400, Ronald S. Bultje wrote:
> On Thu, May 13, 2010 at 9:57 AM, Sebastian Vater
> <cdgs.basty at googlemail.com> wrote:
> > Ronald S. Bultje a ?crit :
> >>> + ? ? ? ? ? ?memcpy(row, buf, FFMIN(avctx->width, buf_end - buf));
> >>> + ? ? ? ? ? ?buf += avctx->width;
> >> You can just memcpy the whole image at once instead of per-line, no?
> > They have different width alignment, if I do one memcpy, the image is
> > totally distorted.
> Right... Do we have a generic function for this? Otherwise patch OK,
> will apply if nobody complains.
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel