Commit e73cc281 authored by Michael Niedermayer's avatar Michael Niedermayer

src_movie: Fix incompatible pointer type warning.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5ed20cfe
...@@ -258,7 +258,7 @@ static int movie_get_frame(AVFilterLink *outlink) ...@@ -258,7 +258,7 @@ static int movie_get_frame(AVFilterLink *outlink)
movie->picref = avfilter_get_video_buffer(outlink, AV_PERM_WRITE | AV_PERM_PRESERVE | movie->picref = avfilter_get_video_buffer(outlink, AV_PERM_WRITE | AV_PERM_PRESERVE |
AV_PERM_REUSE2, outlink->w, outlink->h); AV_PERM_REUSE2, outlink->w, outlink->h);
av_image_copy(movie->picref->data, movie->picref->linesize, av_image_copy(movie->picref->data, movie->picref->linesize,
movie->frame->data, movie->frame->linesize, (void*)movie->frame->data, movie->frame->linesize,
movie->picref->format, outlink->w, outlink->h); movie->picref->format, outlink->w, outlink->h);
avfilter_copy_frame_props(movie->picref, movie->frame); avfilter_copy_frame_props(movie->picref, movie->frame);
......
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