aboutsummaryrefslogtreecommitdiffstats
path: root/libAACdec/src/aacdecoder.cpp
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2019-10-08 14:53:07 +0300
committerMartin Storsjo <martin@martin.st>2019-10-08 14:53:07 +0300
commite365f4f27802954f0cf65d3e2eac88b7fdebc83c (patch)
treed0ef656126c0ad2758164a0cf04136efccfe14c1 /libAACdec/src/aacdecoder.cpp
parentd387d3b6ed79ff9a82c60440bdd86e6e5e324bec (diff)
parentd929f68a05f5cbdd812dca287c8115a39439acf1 (diff)
downloadfdk-aac-e365f4f27802954f0cf65d3e2eac88b7fdebc83c.tar.gz
fdk-aac-e365f4f27802954f0cf65d3e2eac88b7fdebc83c.tar.bz2
fdk-aac-e365f4f27802954f0cf65d3e2eac88b7fdebc83c.zip
Merge remote-tracking branch 'aosp/master'
Diffstat (limited to 'libAACdec/src/aacdecoder.cpp')
-rw-r--r--libAACdec/src/aacdecoder.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/libAACdec/src/aacdecoder.cpp b/libAACdec/src/aacdecoder.cpp
index 8f03328..7617937 100644
--- a/libAACdec/src/aacdecoder.cpp
+++ b/libAACdec/src/aacdecoder.cpp
@@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
-© Copyright 1995 - 2018 Fraunhofer-Gesellschaft zur Förderung der angewandten
+© Copyright 1995 - 2019 Fraunhofer-Gesellschaft zur Förderung der angewandten
Forschung e.V. All rights reserved.
1. INTRODUCTION
@@ -1815,6 +1815,9 @@ CAacDecoder_Init(HANDLE_AACDECODER self, const CSAudioSpecificConfig *asc,
self->useLdQmfTimeAlign =
asc->m_sc.m_eldSpecificConfig.m_useLdQmfTimeAlign;
}
+ if (self->sbrEnabled != asc->m_sbrPresentFlag) {
+ ascChanged = 1;
+ }
}
self->streamInfo.extAot = asc->m_extensionAudioObjectType;