- 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);
frame->width, frame->height);
ret = av_frame_copy_props(vda->tmp_frame, frame);