[FFmpeg-soc] [soc]: r4655 - aacenc/aacenc.c
alexc
subversion at mplayerhq.hu
Wed Jul 8 21:49:41 CEST 2009
Author: alexc
Date: Wed Jul 8 21:49:40 2009
New Revision: 4655
Log:
Inform the user about illegal LFEs.
Modified:
aacenc/aacenc.c
Modified: aacenc/aacenc.c
==============================================================================
--- aacenc/aacenc.c Wed Jul 8 10:36:32 2009 (r4654)
+++ aacenc/aacenc.c Wed Jul 8 21:49:40 2009 (r4655)
@@ -201,6 +201,10 @@ static av_cold int aac_encode_init(AVCod
ff_aac_pow2sf_tab[i] = pow(2, (i - 200)/4.);
#endif /* CONFIG_HARDCODED_TABLES */
+ if (avctx->channels > 5)
+ av_log(avctx, AV_LOG_ERROR, "This encoder does not yet enforce the restrictions on LFEs. "
+ "The output will most likely be an illegal bitstream.\n");
+
return 0;
}
More information about the FFmpeg-soc
mailing list