提交 84a9e5a9 编写于 作者: X xinzhengzhang

ff_ffplay: merge: c413d9e6356e843aa492be9bb0ddf66ae6c97501

    ffplay: remove existing AVPicture usage

    It is deprecated.
Reviewed-by: NPaul B Mahol <onemda@gmail.com>
Signed-off-by: NMarton Balint <cus@passwd.hu>
上级 01f2c6a7
......@@ -1257,7 +1257,7 @@ static int queue_picture(FFPlayer *ffp, AVFrame *src_frame, double pts, double d
#ifdef FFP_MERGE
#if CONFIG_AVFILTER
// FIXME use direct rendering
av_picture_copy(&pict, (AVPicture *)src_frame,
av_image_copy(data, linesize, (const uint8_t **)src_frame->data, src_frame->linesize,
src_frame->format, vp->width, vp->height);
#else
// sws_getCachedContext(...);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册