]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libvpxdec.c
Merge commit 'bc8c1cdc7bfe7b1fe56df812aabdac3de2555cec'
[ffmpeg] / libavcodec / libvpxdec.c
index 5e80a9f63e638c3a3eaf6d5c6994dbd2fb0edcd3..be9742812c683c00806037b16a959d5d658f815e 100644 (file)
@@ -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;
     }