aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2022-06-14 16:48:08 -0700
committerXin Li <delphij@google.com>2022-06-14 16:48:08 -0700
commit0ace73f2d33102b47a98cb4741a402d267844472 (patch)
tree825f49297082c523f9e16a17f9ec399b7e35eee5
parent3070cab376bd2a4b86df798d1f11dff0aef48b61 (diff)
parent1f830f7196b0b0171f786bc4ab56a90bcbea43f9 (diff)
downloadfdk-aac-0ace73f2d33102b47a98cb4741a402d267844472.tar.gz
fdk-aac-0ace73f2d33102b47a98cb4741a402d267844472.tar.bz2
fdk-aac-0ace73f2d33102b47a98cb4741a402d267844472.zip
Merge Android 12 QPR 3
Bug: 236045730 Merged-In: I4df938df7886adc58185586190e27bcd16e17966 Change-Id: I14c070faf59e63c6fac783faf8f8f5ec41609c29
-rw-r--r--libMpegTPDec/src/tpdec_lib.cpp8
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) {