diff options
author | Fraunhofer IIS FDK <audio-fdk@iis.fraunhofer.de> | 2019-01-03 17:10:27 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-01-03 17:10:27 -0800 |
commit | 9dc118a7d12e117cc552825503ff793b6e945d93 (patch) | |
tree | 1a5a50a1829f18897102f4e4f59ac7daa6ff192a /libMpegTPEnc | |
parent | 455d57b7e6becd5428a8986b3bc7d44afea46e49 (diff) | |
parent | 6d1247f2e235e26635aba13f5758b8ba61e11089 (diff) | |
download | fdk-aac-9dc118a7d12e117cc552825503ff793b6e945d93.tar.gz fdk-aac-9dc118a7d12e117cc552825503ff793b6e945d93.tar.bz2 fdk-aac-9dc118a7d12e117cc552825503ff793b6e945d93.zip |
Merge "Add AOT specific number of qmf bands sanity check in SpatialSpecificConfig()" am: bcda185d56 am: 4ab4454f29
am: 6d1247f2e2
Change-Id: I1552fb42268ad2b019b728a8d61561a9028a60ad
Diffstat (limited to 'libMpegTPEnc')
-rw-r--r-- | libMpegTPEnc/include/tp_data.h | 3 | ||||
-rw-r--r-- | libMpegTPEnc/src/tpenc_asc.cpp | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/libMpegTPEnc/include/tp_data.h b/libMpegTPEnc/include/tp_data.h index 6f032d1..00de356 100644 --- a/libMpegTPEnc/include/tp_data.h +++ b/libMpegTPEnc/include/tp_data.h @@ -367,7 +367,8 @@ typedef INT (*cbFreeMem_t)(void *, const CSAudioSpecificConfig *); typedef INT (*cbCtrlCFGChange_t)(void *, const CCtrlCFGChange *); typedef INT (*cbSsc_t)(void *, HANDLE_FDK_BITSTREAM, const AUDIO_OBJECT_TYPE coreCodec, - const INT samplingRate, const INT stereoConfigIndex, + const INT samplingRate, const INT frameSize, + const INT stereoConfigIndex, const INT coreSbrFrameLengthIndex, const INT configBytes, const UCHAR configMode, UCHAR *configChanged); diff --git a/libMpegTPEnc/src/tpenc_asc.cpp b/libMpegTPEnc/src/tpenc_asc.cpp index ce4e364..0b484a0 100644 --- a/libMpegTPEnc/src/tpenc_asc.cpp +++ b/libMpegTPEnc/src/tpenc_asc.cpp @@ -795,7 +795,7 @@ static int transportEnc_writeELDSpecificConfig(HANDLE_FDK_BITSTREAM hBs, const INT eldExtLen = (cb->cbSsc(cb->cbSscData, NULL, config->aot, config->extSamplingRate, 0, - 0, 0, 0, NULL) + + 0, 0, 0, 0, NULL) + 7) >> 3; INT cnt = eldExtLen; @@ -818,7 +818,7 @@ static int transportEnc_writeELDSpecificConfig(HANDLE_FDK_BITSTREAM hBs, } cb->cbSsc(cb->cbSscData, hBs, config->aot, config->extSamplingRate, 0, 0, 0, - 0, NULL); + 0, 0, NULL); } if (config->downscaleSamplingRate != 0 && |