--- ffmpeg_vda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg_vda.c b/ffmpeg_vda.c index b9f0975..d15648d 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); -- 1.9.1
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel