[FFmpeg-cvslog] r14254 - trunk/libavcodec/svq3.c
michael
subversion
Wed Jul 16 04:10:21 CEST 2008
Author: michael
Date: Wed Jul 16 04:10:21 2008
New Revision: 14254
Log:
The funny memcpyin svq3 generally has src & dst overlapping, so it
should at least be a memmove().
Modified:
trunk/libavcodec/svq3.c
Modified: trunk/libavcodec/svq3.c
==============================================================================
--- trunk/libavcodec/svq3.c (original)
+++ trunk/libavcodec/svq3.c Wed Jul 16 04:10:21 2008
@@ -704,7 +704,7 @@ static int svq3_decode_slice_header (H26
skip_bits(&s->gb, 8);
if (length > 0) {
- memcpy ((uint8_t *) &s->gb.buffer[get_bits_count(&s->gb) >> 3],
+ memmove ((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