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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Himangi Saraogi 2015-04-09 03:40:31 +05:30 committed by Michael Niedermayer
parent d630f38f47
commit df4fca2163
1 changed files with 1 additions and 1 deletions

View File

@ -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);