[FFmpeg-soc] [soc]: r2912 - aac/aac.c
superdump
subversion at mplayerhq.hu
Wed Jul 30 13:47:37 CEST 2008
Author: superdump
Date: Wed Jul 30 13:47:37 2008
New Revision: 2912
Log:
che->ch[1].tns.present is only ever set when the che is a CPE anyway so this
extra check is redundant
Modified:
aac/aac.c
Modified: aac/aac.c
==============================================================================
--- aac/aac.c (original)
+++ aac/aac.c Wed Jul 30 13:47:37 2008
@@ -2136,7 +2136,7 @@ static int spectral_to_sample(AACContext
#endif /* AAC_LTP */
if( che->ch[0].tns.present)
apply_tns(ac, 1, &che->ch[0], che->ch[0].coeffs);
- if(j == ID_CPE && che->ch[1].tns.present)
+ if(che->ch[1].tns.present)
apply_tns(ac, 1, &che->ch[1], che->ch[1].coeffs);
if(j == ID_CCE && !che->coup.is_indep_coup && (che->coup.domain == 1))
apply_channel_coupling(ac, che, dependent_coupling);
More information about the FFmpeg-soc
mailing list