summaryrefslogtreecommitdiff
path: root/libavfilter/vf_copy.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-11 15:51:27 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-11 15:51:27 +0200
commitefaa2e01e6d2642d0551f7c30baf8ddf77e66865 (patch)
tree2763b0a488f9f21e91e199e6e9dac82b426e046b /libavfilter/vf_copy.c
parent90d35e527be384951d1bfe25f5933d19d534e541 (diff)
downloadffmpeg-efaa2e01e6d2642d0551f7c30baf8ddf77e66865.tar.gz
vf_copy: silence "incompatible pointer type" warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_copy.c')
-rw-r--r--libavfilter/vf_copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_copy.c b/libavfilter/vf_copy.c
index df7ec3120d..b9859c41b6 100644
--- a/libavfilter/vf_copy.c
+++ b/libavfilter/vf_copy.c
@@ -37,7 +37,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
return AVERROR(ENOMEM);
}
av_frame_copy_props(out, in);
- av_image_copy(out->data, out->linesize, in->data, in->linesize,
+ av_image_copy(out->data, out->linesize, (const uint8_t**) in->data, in->linesize,
in->format, in->width, in->height);
av_frame_free(&in);