aboutsummaryrefslogtreecommitdiffstats
path: root/libAACenc/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-12-27 22:09:51 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-12-27 22:09:51 +0100
commitfdeb98597d4aa2c222df72691ba1cae2a70ceb74 (patch)
treeb1fba9e6139507ade62bc09ed244e0acc8bcdeb7 /libAACenc/src
parenteec17fe051e1b2baac8d5755f2feb9bff2358640 (diff)
downloadODR-AudioEnc-fdeb98597d4aa2c222df72691ba1cae2a70ceb74.tar.gz
ODR-AudioEnc-fdeb98597d4aa2c222df72691ba1cae2a70ceb74.tar.bz2
ODR-AudioEnc-fdeb98597d4aa2c222df72691ba1cae2a70ceb74.zip
Add some asserts to FDK
Diffstat (limited to 'libAACenc/src')
-rw-r--r--libAACenc/src/dyn_bits.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libAACenc/src/dyn_bits.cpp b/libAACenc/src/dyn_bits.cpp
index 0c07109..3105fb4 100644
--- a/libAACenc/src/dyn_bits.cpp
+++ b/libAACenc/src/dyn_bits.cpp
@@ -416,6 +416,8 @@ static void FDKaacEnc_noiselessCounter(
break;
}
+ FDK_ASSERT(sideInfoTab != NULL);
+
sectionData->noOfSections = 0;
sectionData->huffmanBits = 0;
sectionData->sideInfoBits = 0;