[FFmpeg-soc] [soc]: r4334 - wmapro/wma3dec.c
faust3
subversion at mplayerhq.hu
Sat May 30 15:34:13 CEST 2009
Author: faust3
Date: Sat May 30 15:34:13 2009
New Revision: 4334
Log:
use sizeof instead of hardcoding the datatype size
Modified:
wmapro/wma3dec.c
Modified: wmapro/wma3dec.c
==============================================================================
--- wmapro/wma3dec.c Sat May 30 15:27:43 2009 (r4333)
+++ wmapro/wma3dec.c Sat May 30 15:34:13 2009 (r4334)
@@ -961,7 +961,7 @@ static int wma_decode_scale_factors(WMA3
/** run level decode differences to the resampled factors */
memcpy(s->channel[c].scale_factors,s->channel[c].resampled_scale_factors,
- 4 * s->num_bands);
+ sizeof(int) * s->num_bands);
for(i=0;i<s->num_bands;i++){
int idx;
More information about the FFmpeg-soc
mailing list