Commit 5ae972f6 authored by James Almer's avatar James Almer

avcodec/v4l2_m2m_enc: fix usage of deprecated codec flag

parent d3a3ee9c
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment