diff options
Diffstat (limited to 'libMpegTPEnc/src')
-rw-r--r-- | libMpegTPEnc/src/tpenc_lib.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libMpegTPEnc/src/tpenc_lib.cpp b/libMpegTPEnc/src/tpenc_lib.cpp index 058b8d4..d678724 100644 --- a/libMpegTPEnc/src/tpenc_lib.cpp +++ b/libMpegTPEnc/src/tpenc_lib.cpp @@ -282,7 +282,8 @@ TRANSPORTENC_ERROR transportEnc_Init( case TT_MP4_ADTS: /* Sanity checks */ if ( ( hTpEnc->config.aot != AOT_AAC_LC) - ||(hTpEnc->config.samplesPerFrame != 1024) ) + || ((hTpEnc->config.samplesPerFrame != 1024) && + (hTpEnc->config.samplesPerFrame != 960) ) ) { return TRANSPORTENC_INVALID_PARAMETER; } |