Commit efaa2e01 authored by Michael Niedermayer's avatar Michael Niedermayer

vf_copy: silence "incompatible pointer type" warning

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 90d35e52
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment