[FFmpeg-cvslog] vsrc_buffer: FIx incompatible pointer type warning

Michael Niedermayer git at videolan.org
Wed Oct 19 00:28:50 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Oct 18 23:58:41 2011 +0200| [2982b02b799d6073833a662e2d7e089d27f92cba] | committer: Michael Niedermayer

vsrc_buffer: 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=2982b02b799d6073833a662e2d7e089d27f92cba
---

 libavfilter/vsrc_buffer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavfilter/vsrc_buffer.c b/libavfilter/vsrc_buffer.c
index 715bd9d..6ce2490 100644
--- a/libavfilter/vsrc_buffer.c
+++ b/libavfilter/vsrc_buffer.c
@@ -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);
 



More information about the ffmpeg-cvslog mailing list