mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
lavfutils: fix incompatible pointer type warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
be97675e6c
commit
6d401effc4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user