[FFmpeg-cvslog] r14259 - trunk/libavcodec/svq3.c
michael
subversion
Wed Jul 16 19:54:57 CEST 2008
Author: michael
Date: Wed Jul 16 19:54:57 2008
New Revision: 14259
Log:
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.
Modified:
trunk/libavcodec/svq3.c
Modified: trunk/libavcodec/svq3.c
==============================================================================
--- trunk/libavcodec/svq3.c (original)
+++ trunk/libavcodec/svq3.c Wed Jul 16 19:54:57 2008
@@ -704,7 +704,7 @@ static int svq3_decode_slice_header (H26
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));
}
}
More information about the ffmpeg-cvslog
mailing list