summaryrefslogtreecommitdiff
path: root/libavfilter/vf_chromashift.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-12-30 22:31:52 +0100
committerPaul B Mahol <onemda@gmail.com>2018-12-30 22:31:52 +0100
commit3e8f211d868597602fada545ac8bff59c71d3739 (patch)
tree103ce26ce6eee3c797038236f65368abe56d144e /libavfilter/vf_chromashift.c
parentea3a980a610e2517fcb2abe2708166a4b9f6e57d (diff)
avfilter/vf_chromashift: remove invalid offset
Diffstat (limited to 'libavfilter/vf_chromashift.c')
-rw-r--r--libavfilter/vf_chromashift.c2
1 files changed, 1 insertions, 1 deletions
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]);