changeset 7291:239547e8796e libavcodec

10000l, revert r14254 Log: The funny memcpyin svq3 generally has src & dst overlapping, so it should at least be a memmove(). I was tired, they do not overlap.
author michael
date Wed, 16 Jul 2008 17:54:57 +0000
parents 53bb88ba7a67
children d0b6c6caef40
files svq3.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/svq3.c	Wed Jul 16 17:51:24 2008 +0000
+++ b/svq3.c	Wed Jul 16 17:54:57 2008 +0000
@@ -704,7 +704,7 @@
     skip_bits(&s->gb, 8);
 
     if (length > 0) {
-      memmove ((uint8_t *) &s->gb.buffer[get_bits_count(&s->gb) >> 3],
+      memcpy ((uint8_t *) &s->gb.buffer[get_bits_count(&s->gb) >> 3],
              &s->gb.buffer[s->gb.size_in_bits >> 3], (length - 1));
     }
   }