summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMonty <xiphmont@xiph.org>2004-03-16 18:31:49 +0000
committerMonty <xiphmont@xiph.org>2004-03-16 18:31:49 +0000
commit49998298f1ad56929682a6a8a8b8405ca3cf6940 (patch)
tree746caf91c66716b429166efde99be556614e84f7 /src
parentfc84a3b9bce48d5889e2d7ec7f7c2d1df520de64 (diff)
downloadogg-49998298f1ad56929682a6a8a8b8405ca3cf6940.tar.gz
A bcopy() snuck in from sloppy source tree management. Revert it to
the original memmove (bcopy is neither portable nor equivalent to memmove) git-svn-id: http://svn.xiph.org/trunk/ogg@5951 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'src')
-rw-r--r--src/bitwise.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bitwise.c b/src/bitwise.c
index 6a1f24e..719f20c 100644
--- a/src/bitwise.c
+++ b/src/bitwise.c
@@ -11,7 +11,7 @@
********************************************************************
function: packing variable sized words into an octet stream
- last mod: $Id: bitwise.c,v 1.18 2004/03/08 04:10:00 xiphmont Exp $
+ last mod: $Id: bitwise.c,v 1.19 2004/03/16 18:31:49 xiphmont Exp $
********************************************************************/
@@ -170,7 +170,7 @@ static void oggpack_writecopy_helper(oggpack_buffer *b,
b->ptr=b->buffer+b->endbyte;
}
- bcopy(source,b->ptr,bytes);
+ memmove(b->ptr,source,bytes);
b->ptr+=bytes;
b->buffer+=bytes;
*b->ptr=0;