summaryrefslogtreecommitdiffstats
path: root/libMpegTPEnc/src/tpenc_dab.cpp
diff options
context:
space:
mode:
authorpiratfm <piratfm@gmail.com>2013-04-16 18:26:06 +0300
committerMatthias P. Braendli <matthias.braendli@mpb.li>2013-12-14 17:42:35 +0100
commitf91893ab1b9187d71a1c9709f8b7fc2ad8047ddf (patch)
tree320c825ab244b57e70f3d2270fbbe147faa34030 /libMpegTPEnc/src/tpenc_dab.cpp
parent83293a2bb69f96a5fa7f14cfdea45441c9cec0d9 (diff)
downloadfdk-aac-dabplus-f91893ab1b9187d71a1c9709f8b7fc2ad8047ddf.tar.gz
fdk-aac-dabplus-f91893ab1b9187d71a1c9709f8b7fc2ad8047ddf.tar.bz2
fdk-aac-dabplus-f91893ab1b9187d71a1c9709f8b7fc2ad8047ddf.zip
less noise
Diffstat (limited to 'libMpegTPEnc/src/tpenc_dab.cpp')
-rw-r--r--libMpegTPEnc/src/tpenc_dab.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/libMpegTPEnc/src/tpenc_dab.cpp b/libMpegTPEnc/src/tpenc_dab.cpp
index afdac78..cad5da5 100644
--- a/libMpegTPEnc/src/tpenc_dab.cpp
+++ b/libMpegTPEnc/src/tpenc_dab.cpp
@@ -379,7 +379,7 @@ void dabWrite_EndRawDataBlock(HANDLE_DAB hDab,
writeBitsLastBlock = offset_end - FDKgetValidBits(hBs);
dabWrite_FillRawDataBlock(hBs, writeBitsLastBlock);
FDKsyncCache(hBs);
- fprintf(stderr, "FIL-element written=%d\n", writeBitsLastBlock);
+ //fprintf(stderr, "FIL-element written=%d\n", writeBitsLastBlock);
writeBitsLastBlock=writeBits;
}
#endif
@@ -397,7 +397,8 @@ void dabWrite_EndRawDataBlock(HANDLE_DAB hDab,
writeBits=writeBitsLastBlock;
INT frameLen = (FDKgetValidBits(hBs) - hDab->subFrameStartBit) >> 3;
- fprintf(stderr, "frame=%d, offset writeBits=%d\n", frameLen, writeBits);
+ //fprintf(stderr, "frame=%d, offset writeBits=%d\n", frameLen, writeBits);
+
FDK_ASSERT(FDKgetValidBits(hBs) % 8 == 0); //only aligned au's
FDK_ASSERT(hDab->subchannels_num*110*8 >= FDKgetValidBits(hBs)+2*8); //don't overlap superframe
@@ -405,7 +406,7 @@ void dabWrite_EndRawDataBlock(HANDLE_DAB hDab,
FDKpushFor(&bsWriter, hDab->subFrameStartBit);
FDKcrcReset(&hDab->crcInfo);
hDab->crcIndex = FDKcrcStartReg(&hDab->crcInfo, &bsWriter, 0);
-#if 1
+#if 0
if (hDab->currentBlock == hDab->num_raw_blocks) {
INT offset_size = hDab->subchannels_num*110*8 - 2*8 - FDKgetValidBits(hBs);
//fprintf(stderr, "offset_size=%d\n", offset_size >> 3);