[soc]: r5321 - wmapro/wmaprodec.c
Author: faust3 Date: Wed Aug 26 22:41:04 2009 New Revision: 5321 Log: use memcpy to move the second part of the IMDCT buffer Modified: wmapro/wmaprodec.c Modified: wmapro/wmaprodec.c ============================================================================== --- wmapro/wmaprodec.c Wed Aug 26 22:35:41 2009 (r5320) +++ wmapro/wmaprodec.c Wed Aug 26 22:41:04 2009 (r5321) @@ -1357,9 +1357,9 @@ static int decode_frame(WMA3DecodeContex } /** reuse second half of the IMDCT output for the next frame */ - memmove(&s->channel[i].out[0], - &s->channel[i].out[s->samples_per_frame], - s->samples_per_frame * sizeof(*s->channel[i].out)); + memcpy(&s->channel[i].out[0], + &s->channel[i].out[s->samples_per_frame], + s->samples_per_frame * sizeof(*s->channel[i].out)); } if (s->skip_frame) {
participants (1)
-
faust3