diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2015-04-09 03:40:31 +0530 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-04-09 01:23:33 +0200 |
commit | df4fca21632a58300dea1b60e5b545d6bf34ac0d (patch) | |
tree | 4497f433c1fc6291a5c9f9f9e14ba54990d4531e /ffmpeg_vda.c | |
parent | d630f38f47cf468ffeb062f8d6c4efa9fcbd25f5 (diff) | |
download | ffmpeg-df4fca21632a58300dea1b60e5b545d6bf34ac0d.tar.gz |
vda: Cast to not discard constant qualifier and silence compiler warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg_vda.c')
-rw-r--r-- | ffmpeg_vda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg_vda.c b/ffmpeg_vda.c index b9f0975f55..d15648dd8e 100644 --- a/ffmpeg_vda.c +++ b/ffmpeg_vda.c @@ -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); |