OSDN Git Service

avcodec/nuv: Fix 'libavcodec/nuv.c:83:19: warning: passing argument 3 of av_image_cop...
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 22 Oct 2015 18:56:32 +0000 (20:56 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 22 Oct 2015 19:13:59 +0000 (21:13 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/nuv.c

index 20bdeb4..ade3310 100644 (file)
@@ -79,7 +79,7 @@ static void copy_frame(AVFrame *f, const uint8_t *src, int width, int height)
     int src_linesize[4];
     av_image_fill_arrays(src_data, src_linesize, src,
                          f->format, width, height, 1);
-    av_image_copy(f->data, f->linesize, src_data, src_linesize,
+    av_image_copy(f->data, f->linesize, (const uint8_t **)src_data, src_linesize,
                   f->format, width, height);
 }