From 58bdd4198eb5b7029d515340307c754108ab8b11 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 11 Mar 2015 21:27:57 +0100 Subject: Revert useless changes This reverts commit b46963cc7e82dcb8c6509139f9176458db7c9d91. --- libAACenc/src/bitenc.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libAACenc/src/bitenc.cpp') diff --git a/libAACenc/src/bitenc.cpp b/libAACenc/src/bitenc.cpp index fd2697e..4552457 100644 --- a/libAACenc/src/bitenc.cpp +++ b/libAACenc/src/bitenc.cpp @@ -1302,6 +1302,7 @@ AAC_ENCODER_ERROR FDKaacEnc_WriteBitstream(HANDLE_TRANSPORTENC hTpEnc, frameBits = bitMarkUp = alignAnchor; + /* Write DSEs first in case of DAB */ for (n = 0; (n < qcOut->nExtensions) && (n < (2+2)); n++) { @@ -1342,7 +1343,6 @@ AAC_ENCODER_ERROR FDKaacEnc_WriteBitstream(HANDLE_TRANSPORTENC hTpEnc, NULL, 0 )) ) { - printf("Fail 2.4.1\n"); return ErrorStatus; } @@ -1364,7 +1364,6 @@ AAC_ENCODER_ERROR FDKaacEnc_WriteBitstream(HANDLE_TRANSPORTENC hTpEnc, /* In FDK, DSE signalling explicit done in elDSE. See channel_map.cpp */ default: - printf("Fail 2.4.2\n"); return AAC_ENC_INVALID_ELEMENTINFO_TYPE; } /* switch */ @@ -1440,7 +1439,6 @@ AAC_ENCODER_ERROR FDKaacEnc_WriteBitstream(HANDLE_TRANSPORTENC hTpEnc, /* Do byte alignment after AAC (+ MPS) payload. Assure that MPS has been written as channel assigned extension payload! */ if (((FDKgetValidBits(hBs)-alignAnchor+(UINT)qcOut->totFillBits)&0x7)!=(UINT)qcOut->alignBits) { - printf("Fail 2.4.3\n"); return AAC_ENC_WRITTEN_BITS_ERROR; } FDKaacEnc_ByteAlignment(hBs, qcOut->alignBits); @@ -1488,7 +1486,6 @@ AAC_ENCODER_ERROR FDKaacEnc_WriteBitstream(HANDLE_TRANSPORTENC hTpEnc, if (doByteAlign) { /* Assure byte alignment*/ if (((alignAnchor-FDKgetValidBits(hBs))&0x7)!=(UINT)qcOut->alignBits) { - printf("Fail 2.4.4, %d != %d\n", (alignAnchor-FDKgetValidBits(hBs))&0x7, (UINT)qcOut->alignBits ); return AAC_ENC_WRITTEN_BITS_ERROR; } -- cgit v1.2.3