aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-07-16 17:54:57 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-07-16 17:54:57 +0000
commit9dff86c672f06c3b342bbe6d89c52937900d23c7 (patch)
tree7aa7018072d1e0d4f6dc01353194bc1c25318a6e /libavcodec
parent1d42f410914d0b2ca1a684933cd9d05a0102bf16 (diff)
downloadffmpeg-9dff86c672f06c3b342bbe6d89c52937900d23c7.tar.gz
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. Originally committed as revision 14259 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/svq3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c
index a5868e1cee..67fa3172b4 100644
--- a/libavcodec/svq3.c
+++ b/libavcodec/svq3.c
@@ -704,7 +704,7 @@ static int svq3_decode_slice_header (H264Context *h) {
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));
}
}