aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-10-21 18:19:02 -0300
committerJames Almer <jamrial@gmail.com>2017-10-21 18:19:02 -0300
commit5ae972f63b7684950eec28c81cb180e05457f109 (patch)
tree6a01227c425cf48960e44b2fd74c68928aa09322
parentd3a3ee9c7a736c664789494ce6c09c330f7b1499 (diff)
downloadffmpeg-5ae972f63b7684950eec28c81cb180e05457f109.tar.gz
avcodec/v4l2_m2m_enc: fix usage of deprecated codec flag
-rw-r--r--libavcodec/v4l2_m2m_enc.c2
1 files changed, 1 insertions, 1 deletions
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;