aboutsummaryrefslogtreecommitdiffstats
path: root/libMpegTPDec/src/tpdec_lib.cpp
diff options
context:
space:
mode:
authorFraunhofer IIS FDK <audio-fdk@iis.fraunhofer.de>2018-10-19 16:37:31 +0200
committerJean-Michel Trivi <jmtrivi@google.com>2018-12-27 14:17:51 -0500
commit64134e60b348bb1686986e217f4020d6d108ed46 (patch)
treef067c7671c3cebdfe66c08394d9ed8c65f2b4c10 /libMpegTPDec/src/tpdec_lib.cpp
parentf828d3e16adfb4cb428b4f3a2c155f89853cebbe (diff)
downloadfdk-aac-64134e60b348bb1686986e217f4020d6d108ed46.tar.gz
fdk-aac-64134e60b348bb1686986e217f4020d6d108ed46.tar.bz2
fdk-aac-64134e60b348bb1686986e217f4020d6d108ed46.zip
Add FDK_FALLTHROUGH macro to prevent implicit-fallthrough compiler warnings
Test: atest DecoderTestXheAac ; atest DecoderTestAacDrc Change-Id: I9f9064fb63ac40e18f245c00b7375b4874f2925b
Diffstat (limited to 'libMpegTPDec/src/tpdec_lib.cpp')
-rw-r--r--libMpegTPDec/src/tpdec_lib.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libMpegTPDec/src/tpdec_lib.cpp b/libMpegTPDec/src/tpdec_lib.cpp
index 2a40187..1976cb9 100644
--- a/libMpegTPDec/src/tpdec_lib.cpp
+++ b/libMpegTPDec/src/tpdec_lib.cpp
@@ -956,6 +956,7 @@ static TRANSPORTDEC_ERROR transportDec_readHeader(
hTp->parser.latm.m_audioMuxLengthBytes = syncLayerFrameBits;
syncLayerFrameBits <<= 3;
}
+ FDK_FALLTHROUGH;
case TT_MP4_LATM_MCP1:
case TT_MP4_LATM_MCP0:
if (hTp->numberOfRawDataBlocks <= 0) {