mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-24 08:13:37 +00:00
vda: Cast to not discard constant qualifier and silence compiler warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
d630f38f47
commit
df4fca2163
@ -73,7 +73,7 @@ static int vda_retrieve_data(AVCodecContext *s, AVFrame *frame)
|
|||||||
}
|
}
|
||||||
|
|
||||||
av_image_copy(vda->tmp_frame->data, vda->tmp_frame->linesize,
|
av_image_copy(vda->tmp_frame->data, vda->tmp_frame->linesize,
|
||||||
data, linesize, vda->tmp_frame->format,
|
(const uint8_t **)data, linesize, vda->tmp_frame->format,
|
||||||
frame->width, frame->height);
|
frame->width, frame->height);
|
||||||
|
|
||||||
ret = av_frame_copy_props(vda->tmp_frame, frame);
|
ret = av_frame_copy_props(vda->tmp_frame, frame);
|
||||||
|
Loading…
Reference in New Issue
Block a user