[FFmpeg-cvslog] avcodec/nuv: Fix 'libavcodec/nuv.c:83:19: warning: passing argument 3 of av_image_copy from incompatible pointer type'
Michael Niedermayer
git at videolan.org
Thu Oct 22 21:32:47 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu Oct 22 20:56:32 2015 +0200| [37498a4b202e332e690ba02b9ab04afcbb08c9a5] | committer: Michael Niedermayer
avcodec/nuv: Fix 'libavcodec/nuv.c:83:19: warning: passing argument 3 of av_image_copy from incompatible pointer type'
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=37498a4b202e332e690ba02b9ab04afcbb08c9a5
---
libavcodec/nuv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/nuv.c b/libavcodec/nuv.c
index 20bdeb4..ade3310 100644
--- a/libavcodec/nuv.c
+++ b/libavcodec/nuv.c
@@ -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);
}
More information about the ffmpeg-cvslog
mailing list