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:
19bd477
)
libvorbis: Use memmove instead of memcpy for shifting data
author
Martin Storsjö
<martin@martin.st>
Wed, 16 Jun 2010 19:03:54 +0000
(19:03 +0000)
committer
Martin Storsjö
<martin@martin.st>
Wed, 16 Jun 2010 19:03:54 +0000
(19:03 +0000)
Originally committed as revision 23631 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/libvorbis.c
patch
|
blob
|
history
diff --git
a/libavcodec/libvorbis.c
b/libavcodec/libvorbis.c
index
f9a1b32
..
a7044a2
100644
(file)
--- a/
libavcodec/libvorbis.c
+++ b/
libavcodec/libvorbis.c
@@
-192,7
+192,7
@@
static int oggvorbis_encode_frame(AVCodecContext *avccontext,
memcpy(packets, op2->packet, l);
context->buffer_index -= l + sizeof(ogg_packet);
- mem
cpy
(context->buffer, context->buffer + l + sizeof(ogg_packet), context->buffer_index);
+ mem
move
(context->buffer, context->buffer + l + sizeof(ogg_packet), context->buffer_index);
// av_log(avccontext, AV_LOG_DEBUG, "E%d\n", l);
}