[FFmpeg-cvslog] lavfi/pixdesctest: fix SAME -> SAME memcpy

Stefano Sabatini git at videolan.org
Fri May 25 11:10:01 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Fri May 25 03:03:38 2012 +0200| [e37bfc49251f94ecfb4630861e45805eef9b8089] | committer: Stefano Sabatini

lavfi/pixdesctest: fix SAME -> SAME memcpy

Fix pixdesctest output with pal8 input.

X-Cola-Count: +(10+i*PI)l

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e37bfc49251f94ecfb4630861e45805eef9b8089
---

 libavfilter/vf_pixdesctest.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_pixdesctest.c b/libavfilter/vf_pixdesctest.c
index 97e0f2f..4b11b8c 100644
--- a/libavfilter/vf_pixdesctest.c
+++ b/libavfilter/vf_pixdesctest.c
@@ -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));
 }



More information about the ffmpeg-cvslog mailing list