diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-16 22:54:16 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-16 22:54:16 +0200 |
commit | 09b3bbe6057c9d03dff2467b1e6748a617afea15 (patch) | |
tree | 2020c04f066cfd818c2566e002c6785b771f8d8d /libavcodec/libvpxdec.c | |
parent | f4cc38e339675b2ca9eff99e9fb5af75cfc49d22 (diff) | |
download | ffmpeg-09b3bbe6057c9d03dff2467b1e6748a617afea15.tar.gz |
libvpxenc: Fix "passing argument 3 of av_image_copy from incompatible pointer type" warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/libvpxdec.c')
-rw-r--r-- | libavcodec/libvpxdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libvpxdec.c b/libavcodec/libvpxdec.c index 5e80a9f63e..be9742812c 100644 --- a/libavcodec/libvpxdec.c +++ b/libavcodec/libvpxdec.c @@ -96,7 +96,7 @@ static int vp8_decode(AVCodecContext *avctx, } if ((ret = ff_get_buffer(avctx, picture, 0)) < 0) return ret; - av_image_copy(picture->data, picture->linesize, img->planes, + av_image_copy(picture->data, picture->linesize, (const uint8_t **)img->planes, img->stride, avctx->pix_fmt, img->d_w, img->d_h); *got_frame = 1; } |