[FFmpeg-cvslog] src_movie: Fix incompatible pointer type warning.
Michael Niedermayer
git at videolan.org
Wed Oct 19 00:28:51 CEST 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Oct 19 00:03:56 2011 +0200| [e73cc2819e5e29718a956e1194c267be832d7db3] | committer: Michael Niedermayer
src_movie: Fix incompatible pointer type warning.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e73cc2819e5e29718a956e1194c267be832d7db3
---
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 a96f3c6..c37195a 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);
More information about the ffmpeg-cvslog
mailing list