|
|
@@ -97,7 +97,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); |
|
|
#if VPX_IMAGE_ABI_VERSION >= 4 |
|
|
#if VPX_IMAGE_ABI_VERSION >= 4 |
|
|
switch (img->range) { |
|
|
switch (img->range) { |
|
|
|