diff --git a/libavcodec/libkvazaar.c b/libavcodec/libkvazaar.c index 41a1bbb45e..5bc5b4ebf1 100644 --- a/libavcodec/libkvazaar.c +++ b/libavcodec/libkvazaar.c @@ -207,7 +207,7 @@ static int libkvazaar_encode(AVCodecContext *avctx, 0 }; av_image_copy(input_pic->data, dst_linesizes, - frame->data, frame->linesize, + (const uint8_t **)frame->data, frame->linesize, frame->format, frame->width, frame->height); }