summaryrefslogtreecommitdiffstats
path: root/libAACenc/src/aacenc.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-03-11 21:27:57 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-03-11 21:27:57 +0100
commit58bdd4198eb5b7029d515340307c754108ab8b11 (patch)
treedf16e70225672ea19fb1df01f2af40aaae67dfaa /libAACenc/src/aacenc.cpp
parentb46963cc7e82dcb8c6509139f9176458db7c9d91 (diff)
downloadODR-AudioEnc-58bdd4198eb5b7029d515340307c754108ab8b11.tar.gz
ODR-AudioEnc-58bdd4198eb5b7029d515340307c754108ab8b11.tar.bz2
ODR-AudioEnc-58bdd4198eb5b7029d515340307c754108ab8b11.zip
Revert useless changes
This reverts commit b46963cc7e82dcb8c6509139f9176458db7c9d91.
Diffstat (limited to 'libAACenc/src/aacenc.cpp')
-rw-r--r--libAACenc/src/aacenc.cpp16
1 files changed, 4 insertions, 12 deletions
diff --git a/libAACenc/src/aacenc.cpp b/libAACenc/src/aacenc.cpp
index 72f08f1..96668cc 100644
--- a/libAACenc/src/aacenc.cpp
+++ b/libAACenc/src/aacenc.cpp
@@ -792,10 +792,8 @@ AAC_ENCODER_ERROR FDKaacEnc_EncodeFrame( HANDLE_AAC_ENC hAacEnc,
hAacEnc->config->syntaxFlags,
hAacEnc->config->epConfig);
- if (ErrorStatus != AAC_ENC_OK) {
- printf("Fail 2.1\n");
+ if (ErrorStatus != AAC_ENC_OK)
return ErrorStatus;
- }
/*-------------------------------------------- */
@@ -936,10 +934,8 @@ AAC_ENCODER_ERROR FDKaacEnc_EncodeFrame( HANDLE_AAC_ENC hAacEnc,
hAacEnc->config->syntaxFlags,
hAacEnc->config->epConfig);
- if (ErrorStatus != AAC_ENC_OK) {
- printf("Fail 2.2\n");
+ if (ErrorStatus != AAC_ENC_OK)
return ErrorStatus;
- }
/*-------------------------------------------- */
/*-------------------------------------------- */
@@ -959,10 +955,8 @@ AAC_ENCODER_ERROR FDKaacEnc_EncodeFrame( HANDLE_AAC_ENC hAacEnc,
hAacEnc->aot,
hAacEnc->config->syntaxFlags,
hAacEnc->config->epConfig);
- if (ErrorStatus != AAC_ENC_OK) {
- printf("Fail 2.3\n");
+ if (ErrorStatus != AAC_ENC_OK)
return ErrorStatus;
- }
/*-------------------------------------------- */
totalBits += qcOut->totalBits;
@@ -994,10 +988,8 @@ AAC_ENCODER_ERROR FDKaacEnc_EncodeFrame( HANDLE_AAC_ENC hAacEnc,
hAacEnc->config->syntaxFlags,
hAacEnc->config->epConfig);
- if (ErrorStatus != AAC_ENC_OK) {
- printf("Fail 2.4\n");
+ if (ErrorStatus != AAC_ENC_OK)
return ErrorStatus;
- }
/* transportEnc_EndAccessUnit() is being called inside FDKaacEnc_WriteBitstream() */
transportEnc_GetFrame(hTpEnc, nOutBytes);