Commit 2982b02b authored by Michael Niedermayer's avatar Michael Niedermayer

vsrc_buffer: FIx incompatible pointer type warning

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ffb7c6e5
......@@ -105,7 +105,7 @@ int av_vsrc_buffer_add_video_buffer_ref(AVFilterContext *buffer_filter,
c->picref = avfilter_get_video_buffer(outlink, AV_PERM_WRITE,
picref->video->w, picref->video->h);
av_image_copy(c->picref->data, c->picref->linesize,
picref->data, picref->linesize,
(void*)picref->data, picref->linesize,
picref->format, picref->video->w, picref->video->h);
avfilter_copy_buffer_ref_props(c->picref, picref);
......
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