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 /libMpegTPEnc | |
parent | 58378f49c75b7c6e184c499082328761b468da68 (diff) | |
download | fdk-aac-b46963cc7e82dcb8c6509139f9176458db7c9d91.tar.gz fdk-aac-b46963cc7e82dcb8c6509139f9176458db7c9d91.tar.bz2 fdk-aac-b46963cc7e82dcb8c6509139f9176458db7c9d91.zip |
Fix -V option
Diffstat (limited to 'libMpegTPEnc')
-rw-r--r-- | libMpegTPEnc/src/tpenc_lib.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libMpegTPEnc/src/tpenc_lib.cpp b/libMpegTPEnc/src/tpenc_lib.cpp index 058b8d4..12cfa09 100644 --- a/libMpegTPEnc/src/tpenc_lib.cpp +++ b/libMpegTPEnc/src/tpenc_lib.cpp @@ -88,6 +88,7 @@ amm-info@iis.fraunhofer.de ******************************************************************************/ +#include <stdio.h> #include "tpenc_lib.h" /* library info */ @@ -284,6 +285,8 @@ TRANSPORTENC_ERROR transportEnc_Init( if ( ( hTpEnc->config.aot != AOT_AAC_LC) ||(hTpEnc->config.samplesPerFrame != 1024) ) { + printf("Fail 1.5.1 aot %d\n", hTpEnc->config.aot); + return TRANSPORTENC_INVALID_PARAMETER; } if ( adtsWrite_Init(&hTpEnc->writer.adts, &hTpEnc->config) != 0) { |