Commit 3c14c82b authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter: Silence warning: passing argument 3 of av_image_copy from incompatible pointer type

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0ac71f9a
......@@ -690,7 +690,7 @@ static int ff_filter_frame_framed(AVFilterLink *link, AVFilterBufferRef *frame)
switch (link->type) {
case AVMEDIA_TYPE_VIDEO:
av_image_copy(out->data, out->linesize, frame->data, frame->linesize,
av_image_copy(out->data, out->linesize, (const uint8_t **)frame->data, frame->linesize,
frame->format, frame->video->w, frame->video->h);
break;
case AVMEDIA_TYPE_AUDIO:
......
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