libvpxenc: Fix "passing argument 3 of av_image_copy from incompatible pointer type" warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-05-16 22:54:16 +02:00
parent f4cc38e339
commit 09b3bbe605
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ static int vp8_decode(AVCodecContext *avctx,
} }
if ((ret = ff_get_buffer(avctx, picture, 0)) < 0) if ((ret = ff_get_buffer(avctx, picture, 0)) < 0)
return ret; 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); img->stride, avctx->pix_fmt, img->d_w, img->d_h);
*got_frame = 1; *got_frame = 1;
} }