[soc]: r4655 - aacenc/aacenc.c
8 Jul
2009
8 Jul
'09
7:49 p.m.
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; }
6338
Age (days ago)
6338
Last active (days ago)
0 comments
1 participants
participants (1)
-
alexc