[FFmpeg-cvslog] avcodec/v4l2_m2m_enc: fix usage of deprecated codec flag

James Almer git at videolan.org
Sun Oct 22 00:19:39 EEST 2017


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sat Oct 21 18:19:02 2017 -0300| [5ae972f63b7684950eec28c81cb180e05457f109] | committer: James Almer

avcodec/v4l2_m2m_enc: fix usage of deprecated codec flag

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5ae972f63b7684950eec28c81cb180e05457f109
---

 libavcodec/v4l2_m2m_enc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/v4l2_m2m_enc.c b/libavcodec/v4l2_m2m_enc.c
index f71ce5fb74..76ce85fdaa 100644
--- a/libavcodec/v4l2_m2m_enc.c
+++ b/libavcodec/v4l2_m2m_enc.c
@@ -204,7 +204,7 @@ static int v4l2_prepare_encoder(V4L2m2mContext *s)
             v4l2_set_ext_ctrl(s, MPEG_CID(MPEG4_PROFILE), val, "mpeg4 profile");
         qmin_cid = MPEG_CID(MPEG4_MIN_QP);
         qmax_cid = MPEG_CID(MPEG4_MAX_QP);
-        if (avctx->flags & CODEC_FLAG_QPEL)
+        if (avctx->flags & AV_CODEC_FLAG_QPEL)
             v4l2_set_ext_ctrl(s, MPEG_CID(MPEG4_QPEL), 1, "qpel");
         qmin = 1;
         qmax = 31;



More information about the ffmpeg-cvslog mailing list