Commit df4fca21 authored by Himangi Saraogi's avatar Himangi Saraogi Committed by Michael Niedermayer

vda: Cast to not discard constant qualifier and silence compiler warning

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d630f38f
......@@ -73,7 +73,7 @@ static int vda_retrieve_data(AVCodecContext *s, AVFrame *frame)
}
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);
ret = av_frame_copy_props(vda->tmp_frame, frame);
......
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