diff options
Diffstat (limited to 'libMpegTPEnc/src')
-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) { |