diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-03-11 21:27:12 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-03-11 21:27:12 +0100 |
commit | b46963cc7e82dcb8c6509139f9176458db7c9d91 (patch) | |
tree | c5c73af834d5d069235f4e7fe0a1ab243f3c8331 /libAACenc/src/aacenc.cpp | |
parent | 58378f49c75b7c6e184c499082328761b468da68 (diff) | |
download | ODR-AudioEnc-b46963cc7e82dcb8c6509139f9176458db7c9d91.tar.gz ODR-AudioEnc-b46963cc7e82dcb8c6509139f9176458db7c9d91.tar.bz2 ODR-AudioEnc-b46963cc7e82dcb8c6509139f9176458db7c9d91.zip |
Fix -V option
Diffstat (limited to 'libAACenc/src/aacenc.cpp')
-rw-r--r-- | libAACenc/src/aacenc.cpp | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/libAACenc/src/aacenc.cpp b/libAACenc/src/aacenc.cpp index 96668cc..72f08f1 100644 --- a/libAACenc/src/aacenc.cpp +++ b/libAACenc/src/aacenc.cpp @@ -792,8 +792,10 @@ AAC_ENCODER_ERROR FDKaacEnc_EncodeFrame( HANDLE_AAC_ENC hAacEnc, hAacEnc->config->syntaxFlags, hAacEnc->config->epConfig); - if (ErrorStatus != AAC_ENC_OK) + if (ErrorStatus != AAC_ENC_OK) { + printf("Fail 2.1\n"); return ErrorStatus; + } /*-------------------------------------------- */ @@ -934,8 +936,10 @@ AAC_ENCODER_ERROR FDKaacEnc_EncodeFrame( HANDLE_AAC_ENC hAacEnc, hAacEnc->config->syntaxFlags, hAacEnc->config->epConfig); - if (ErrorStatus != AAC_ENC_OK) + if (ErrorStatus != AAC_ENC_OK) { + printf("Fail 2.2\n"); return ErrorStatus; + } /*-------------------------------------------- */ /*-------------------------------------------- */ @@ -955,8 +959,10 @@ AAC_ENCODER_ERROR FDKaacEnc_EncodeFrame( HANDLE_AAC_ENC hAacEnc, hAacEnc->aot, hAacEnc->config->syntaxFlags, hAacEnc->config->epConfig); - if (ErrorStatus != AAC_ENC_OK) + if (ErrorStatus != AAC_ENC_OK) { + printf("Fail 2.3\n"); return ErrorStatus; + } /*-------------------------------------------- */ totalBits += qcOut->totalBits; @@ -988,8 +994,10 @@ AAC_ENCODER_ERROR FDKaacEnc_EncodeFrame( HANDLE_AAC_ENC hAacEnc, hAacEnc->config->syntaxFlags, hAacEnc->config->epConfig); - if (ErrorStatus != AAC_ENC_OK) + if (ErrorStatus != AAC_ENC_OK) { + printf("Fail 2.4\n"); return ErrorStatus; + } /* transportEnc_EndAccessUnit() is being called inside FDKaacEnc_WriteBitstream() */ transportEnc_GetFrame(hTpEnc, nOutBytes); |