[FFmpeg-soc] [soc]: r5321 - wmapro/wmaprodec.c

faust3 subversion at mplayerhq.hu
Wed Aug 26 22:41:04 CEST 2009


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) {


More information about the FFmpeg-soc mailing list