diff --git a/libfreerdp/codec/dsp_ffmpeg.c b/libfreerdp/codec/dsp_ffmpeg.c index 8fba7f596..c01a3f9ca 100644 --- a/libfreerdp/codec/dsp_ffmpeg.c +++ b/libfreerdp/codec/dsp_ffmpeg.c @@ -286,8 +286,10 @@ static BOOL ffmpeg_open_context(FREERDP_DSP_CONTEXT* WINPR_RESTRICT context) case AV_CODEC_ID_AAC: #if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102) context->context->profile = FF_PROFILE_AAC_MAIN; -#else +#elif LIBAVCODEC_VERSION_INT < AV_VERSION_INT(62, 11, 100) context->context->profile = AV_PROFILE_AAC_MAIN; +#else + context->context->profile = AV_PROFILE_AAC_LOW; #endif break;