diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-22 20:56:32 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-22 21:13:59 +0200 |
commit | 37498a4b202e332e690ba02b9ab04afcbb08c9a5 (patch) | |
tree | 1ee8cdb2de9cf06bbb5abdc22967f53f2c2d9934 /libavcodec/nuv.c | |
parent | ea5a1d1485309c2ab473c6692a288efbd874a72b (diff) | |
download | ffmpeg-37498a4b202e332e690ba02b9ab04afcbb08c9a5.tar.gz |
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@niedermayer.cc>
Diffstat (limited to 'libavcodec/nuv.c')
-rw-r--r-- | libavcodec/nuv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/nuv.c b/libavcodec/nuv.c index 20bdeb4d34..ade3310d85 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); } |