projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d42f41
)
10000l, revert
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 16 Jul 2008 17:54:57 +0000
(17:54 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 16 Jul 2008 17:54:57 +0000
(17:54 +0000)
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
libavcodec/svq3.c
patch
|
blob
|
history
diff --git
a/libavcodec/svq3.c
b/libavcodec/svq3.c
index
a5868e1
..
67fa317
100644
(file)
--- 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) {
- mem
move
((uint8_t *) &s->gb.buffer[get_bits_count(&s->gb) >> 3],
+ mem
cpy
((uint8_t *) &s->gb.buffer[get_bits_count(&s->gb) >> 3],
&s->gb.buffer[s->gb.size_in_bits >> 3], (length - 1));
}
}