ffmpeg | branch: master | Himangi Saraogi <himangi...@gmail.com> | Thu Apr 9 03:58:31 2015 +0530| [df4fca21632a58300dea1b60e5b545d6bf34ac0d] | committer: Michael Niedermayer
vda: Cast to not discard constant qualifier and silence compiler warning Signed-off-by: Michael Niedermayer <michae...@gmx.at> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=df4fca21632a58300dea1b60e5b545d6bf34ac0d --- ffmpeg_vda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg_vda.c b/ffmpeg_vda.c index b9f0975..d15648d 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); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog