diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-05-25 03:03:38 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-05-25 11:04:34 +0200 |
commit | e37bfc49251f94ecfb4630861e45805eef9b8089 (patch) | |
tree | a97dbffec1b17d1ed361869dd294e5b68ed928b9 | |
parent | ad12e9e8c054b904d564e1a183b73104bca2e3d5 (diff) | |
download | ffmpeg-e37bfc49251f94ecfb4630861e45805eef9b8089.tar.gz |
lavfi/pixdesctest: fix SAME -> SAME memcpy
Fix pixdesctest output with pal8 input.
X-Cola-Count: +(10+i*PI)l
-rw-r--r-- | libavfilter/vf_pixdesctest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_pixdesctest.c b/libavfilter/vf_pixdesctest.c index 97e0f2f53e..4b11b8c2b4 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)); } |