[FFmpeg-cvslog] lavfutils: fix incompatible pointer type warning

Michael Niedermayer git at videolan.org
Sat May 26 20:49:03 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat May 26 19:50:05 2012 +0200| [6d401effc410512a690090ae02a8a9cd022444ae] | committer: Michael Niedermayer

lavfutils: 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=6d401effc410512a690090ae02a8a9cd022444ae
---

 libavfilter/lavfutils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/lavfutils.c b/libavfilter/lavfutils.c
index ce0466d..70f7e71 100644
--- a/libavfilter/lavfutils.c
+++ b/libavfilter/lavfutils.c
@@ -82,7 +82,7 @@ int ff_load_image(uint8_t *data[4], int linesize[4],
         goto end;
     ret = 0;
 
-    av_image_copy(data, linesize, frame->data, frame->linesize, *pix_fmt, *w, *h);
+    av_image_copy(data, linesize, (const uint8_t **)frame->data, frame->linesize, *pix_fmt, *w, *h);
 
 end:
     if (codec_ctx)



More information about the ffmpeg-cvslog mailing list