Commit 6d401eff authored by Michael Niedermayer's avatar Michael Niedermayer

lavfutils: fix incompatible pointer type warning

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent be97675e
......@@ -82,7 +82,7 @@ int ff_load_image(uint8_t *data[4], int linesize[4],
goto end;
ret = 0;
av_image_copy(data, linesize, frame->data, frame->linesize, *pix_fmt, *w, *h);
av_image_copy(data, linesize, (const uint8_t **)frame->data, frame->linesize, *pix_fmt, *w, *h);
end:
if (codec_ctx)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment