mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
avcodec/mmaldec: fix pointer type warning
Tested-by: Cameron Gutman <aicommander@gmail.com> Signed-off-by: Ho Ming Shun <cyph1984@gmail.com>
This commit is contained in:
parent
6f0e8b998a
commit
dd779749f0
@ -656,7 +656,7 @@ static int ffmal_copy_frame(AVCodecContext *avctx, AVFrame *frame,
|
|||||||
av_image_fill_arrays(src, linesize,
|
av_image_fill_arrays(src, linesize,
|
||||||
buffer->data + buffer->type->video.offset[0],
|
buffer->data + buffer->type->video.offset[0],
|
||||||
avctx->pix_fmt, w, h, 1);
|
avctx->pix_fmt, w, h, 1);
|
||||||
av_image_copy(frame->data, frame->linesize, src, linesize,
|
av_image_copy(frame->data, frame->linesize, (const uint8_t **)src, linesize,
|
||||||
avctx->pix_fmt, avctx->width, avctx->height);
|
avctx->pix_fmt, avctx->width, avctx->height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user