diff options
author | Xin Li <delphij@google.com> | 2022-06-16 18:51:56 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2022-06-16 18:51:56 +0000 |
commit | cb00f5235dd7eb63096f03553260e5bff27476b6 (patch) | |
tree | 825f49297082c523f9e16a17f9ec399b7e35eee5 | |
parent | 3070cab376bd2a4b86df798d1f11dff0aef48b61 (diff) | |
parent | 0ace73f2d33102b47a98cb4741a402d267844472 (diff) | |
download | fdk-aac-cb00f5235dd7eb63096f03553260e5bff27476b6.tar.gz fdk-aac-cb00f5235dd7eb63096f03553260e5bff27476b6.tar.bz2 fdk-aac-cb00f5235dd7eb63096f03553260e5bff27476b6.zip |
Merge "Merge Android 12 QPR 3"
-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) { |