X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=ffmpeg_vda.c;h=d15648dd8e2fbc342a3d5ec322431b3be5b661f7;hb=0be54ad280cf114c02306b7063147e8379f8ed1e;hp=b9f0975f55b8e39edfee18f61b7a3faff6de818e;hpb=847c0d333b6a195670f5bd64e9f7e5c9cf254cc4;p=ffmpeg diff --git a/ffmpeg_vda.c b/ffmpeg_vda.c index b9f0975f55b..d15648dd8e2 100644 --- a/ffmpeg_vda.c +++ b/ffmpeg_vda.c @@ -73,7 +73,7 @@ static int vda_retrieve_data(AVCodecContext *s, AVFrame *frame) } av_image_copy(vda->tmp_frame->data, vda->tmp_frame->linesize, - data, linesize, vda->tmp_frame->format, + (const uint8_t **)data, linesize, vda->tmp_frame->format, frame->width, frame->height); ret = av_frame_copy_props(vda->tmp_frame, frame);