From b7cb7d6b9d9b43962eec67f4529fb544b9c874cc Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Fri, 12 Feb 2016 08:25:41 -0700 Subject: [PATCH] libhb: fix he-aac fallback setup if there is no he-aac encoder, a fallback to aac was not getting set. --- libhb/common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libhb/common.c b/libhb/common.c index 1b8c0f4b7..cf49a2b72 100644 --- a/libhb/common.c +++ b/libhb/common.c @@ -590,8 +590,7 @@ void hb_common_global_init() break; } } - if ((hb_audio_encoders[i].item.codec & HB_ACODEC_MASK) == 0 && - (hb_audio_encoders[i].gid == HB_GID_ACODEC_AAC_HE)) + if (hb_audio_encoders[i].gid == HB_GID_ACODEC_AAC_HE) { // try to find an AAC fallback if no HE-AAC encoder is available for (j = 0; j < hb_audio_encoders_count; j++) -- 2.40.0