diff options
Diffstat (limited to 'libavcodec/amfenc_av1.c')
-rw-r--r-- | libavcodec/amfenc_av1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/amfenc_av1.c b/libavcodec/amfenc_av1.c index 30c0a9fad2..8f13aea29e 100644 --- a/libavcodec/amfenc_av1.c +++ b/libavcodec/amfenc_av1.c @@ -192,7 +192,7 @@ FF_ENABLE_DEPRECATION_WARNINGS AMF_ASSIGN_PROPERTY_RATE(res, ctx->encoder, AMF_VIDEO_ENCODER_AV1_FRAMERATE, framerate); switch (avctx->profile) { - case FF_PROFILE_AV1_MAIN: + case AV_PROFILE_AV1_MAIN: profile = AMF_VIDEO_ENCODER_AV1_PROFILE_MAIN; break; default: @@ -204,7 +204,7 @@ FF_ENABLE_DEPRECATION_WARNINGS AMF_ASSIGN_PROPERTY_INT64(res, ctx->encoder, AMF_VIDEO_ENCODER_AV1_PROFILE, profile); profile_level = avctx->level; - if (profile_level == FF_LEVEL_UNKNOWN) { + if (profile_level == AV_LEVEL_UNKNOWN) { profile_level = ctx->level; } if (profile_level != 0) { |