[FFmpeg-soc] [soc]: r4351 - wmapro/wma3dec.c
faust3
subversion at mplayerhq.hu
Sun May 31 01:03:56 CEST 2009
Author: faust3
Date: Sun May 31 01:03:56 2009
New Revision: 4351
Log:
no need to reset coeff buffer when no coefficients are transmitted (already done during subframe setup)
Modified:
wmapro/wma3dec.c
Modified: wmapro/wma3dec.c
==============================================================================
--- wmapro/wma3dec.c Sun May 31 00:50:01 2009 (r4350)
+++ wmapro/wma3dec.c Sun May 31 01:03:56 2009 (r4351)
@@ -1303,11 +1303,6 @@ static int wma_decode_subframe(WMA3Decod
/** apply imdct (ff_imdct_half == DCTIV with reverse) */
ff_imdct_half(&s->mdct_ctx[av_log2(subframe_len)-BLOCK_MIN_BITS], s->channel[c].coeffs, s->tmp);
}
- }else{
- for(i=0;i<s->channels_for_cur_subframe;i++){
- int c = s->channel_indexes_for_cur_subframe[i];
- memset(s->channel[c].coeffs,0,subframe_len * sizeof(float));
- }
}
/** window and overlapp-add */
More information about the FFmpeg-soc
mailing list