1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

lavfi/pixdesctest: fix SAME -> SAME memcpy

Fix pixdesctest output with pal8 input.

X-Cola-Count: +(10+i*PI)l
This commit is contained in:
Stefano Sabatini 2012-05-25 03:03:38 +02:00
parent ad12e9e8c0
commit e37bfc4925

View File

@ -74,7 +74,7 @@ static void start_frame(AVFilterLink *inlink, AVFilterBufferRef *picref)
/* copy palette */
if (priv->pix_desc->flags & PIX_FMT_PAL ||
priv->pix_desc->flags & PIX_FMT_PSEUDOPAL)
memcpy(outpicref->data[1], outpicref->data[1], 256*4);
memcpy(outpicref->data[1], picref->data[1], 256*4);
avfilter_start_frame(outlink, avfilter_ref_buffer(outpicref, ~0));
}