]> git.sesse.net Git - ffmpeg/blobdiff - ffmpeg_vda.c
avcodec/hqx: Use av_clip_uintp2()
[ffmpeg] / ffmpeg_vda.c
index b9f0975f55b8e39edfee18f61b7a3faff6de818e..d15648dd8e2fbc342a3d5ec322431b3be5b661f7 100644 (file)
@@ -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);