diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-10-19 02:03:56 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-19 02:03:56 +0400 |
commit | e73cc2819e5e29718a956e1194c267be832d7db3 (patch) | |
tree | 1dca783429aafc77d554ee775e3d32670de575ec /libavfilter/src_movie.c | |
parent | 5ed20cfeaf9d83b8859e53e4965c308f87037da8 (diff) |
src_movie: Fix incompatible pointer type warning.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/src_movie.c')
-rw-r--r-- | libavfilter/src_movie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c index a96f3c6a75..c37195a331 100644 --- a/libavfilter/src_movie.c +++ b/libavfilter/src_movie.c @@ -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); |