From 3e8f211d868597602fada545ac8bff59c71d3739 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 30 Dec 2018 22:31:52 +0100 Subject: [PATCH] avfilter/vf_chromashift: remove invalid offset --- libavfilter/vf_chromashift.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_chromashift.c b/libavfilter/vf_chromashift.c index d073256b99..f4ac28ad18 100644 --- a/libavfilter/vf_chromashift.c +++ b/libavfilter/vf_chromashift.c @@ -358,7 +358,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) s->in = in; if (!s->is_rgbashift) { - av_image_copy_plane(out->data[0] + out->linesize[0], + av_image_copy_plane(out->data[0], out->linesize[0], in->data[0], in->linesize[0], s->linesize[0], s->height[0]);