mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 08:24:16 +09:00
[codec,ffmpeg] 8.0 dropped AV_PROFILE_AAC_MAIN
replace with AV_PROFILE_AAC_LOW which is supported by all aac encoders/decoders
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user