diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-04-07 23:03:13 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-04-07 23:03:13 +0000 |
commit | 67dcccc111e44237a99c437d74c700f854124c78 (patch) | |
tree | 36ed26c9ff30a555b56f75133acc07e393115f03 /libMpegTPDec | |
parent | d2c2a20682f5103500631efb48b5dd67b48ca6c3 (diff) | |
parent | f02e2ba58f6c161ea1792ed180242ba7d6b849e0 (diff) | |
download | fdk-aac-67dcccc111e44237a99c437d74c700f854124c78.tar.gz fdk-aac-67dcccc111e44237a99c437d74c700f854124c78.tar.bz2 fdk-aac-67dcccc111e44237a99c437d74c700f854124c78.zip |
Snap for 8417597 from f02e2ba58f6c161ea1792ed180242ba7d6b849e0 to sc-qpr3-release
Change-Id: Iede59048bfac7adc5daa9359fed3c2295873637c
Diffstat (limited to 'libMpegTPDec')
-rw-r--r-- | libMpegTPDec/src/tpdec_lib.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libMpegTPDec/src/tpdec_lib.cpp b/libMpegTPDec/src/tpdec_lib.cpp index 091d011..8cd9cb0 100644 --- a/libMpegTPDec/src/tpdec_lib.cpp +++ b/libMpegTPDec/src/tpdec_lib.cpp @@ -1,7 +1,7 @@ /* ----------------------------------------------------------------------------- Software License for The Fraunhofer FDK AAC Codec Library for Android -© Copyright 1995 - 2019 Fraunhofer-Gesellschaft zur Förderung der angewandten +© Copyright 1995 - 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. All rights reserved. 1. INTRODUCTION @@ -351,6 +351,12 @@ TRANSPORTDEC_ERROR transportDec_OutOfBandConfig(HANDLE_TRANSPORTDEC hTp, } } } + + /* if an error is detected terminate config parsing to avoid that an invalid + * config is accepted in the second pass */ + if (err != TRANSPORTDEC_OK) { + break; + } } if (err == TRANSPORTDEC_OK && fConfigFound) { |