From b46963cc7e82dcb8c6509139f9176458db7c9d91 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 11 Mar 2015 21:27:12 +0100 Subject: Fix -V option --- libMpegTPEnc/src/tpenc_lib.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libMpegTPEnc/src/tpenc_lib.cpp') 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 #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) { -- cgit v1.2.3