mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 20:19:55 +00:00
vf_copy: silence "incompatible pointer type" warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
90d35e527b
commit
efaa2e01e6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user