avcodec/v4l2_m2m_enc: fix usage of deprecated codec flag

This commit is contained in:
James Almer 2017-10-21 18:19:02 -03:00
parent d3a3ee9c7a
commit 5ae972f63b
1 changed files with 1 additions and 1 deletions

View File

@ -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;