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) {
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to