mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 05:50:43 +00:00
src_movie: Fix incompatible pointer type warning.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
5ed20cfeaf
commit
e73cc2819e
@ -258,7 +258,7 @@ static int movie_get_frame(AVFilterLink *outlink)
|
||||
movie->picref = avfilter_get_video_buffer(outlink, AV_PERM_WRITE | AV_PERM_PRESERVE |
|
||||
AV_PERM_REUSE2, outlink->w, outlink->h);
|
||||
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);
|
||||
avfilter_copy_frame_props(movie->picref, movie->frame);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user