diff options
author | Monty <xiphmont@xiph.org> | 2004-03-16 18:31:49 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2004-03-16 18:31:49 +0000 |
commit | a1f7773884f0eda2ba388b8a2f7c47776060e67d (patch) | |
tree | 746caf91c66716b429166efde99be556614e84f7 /src | |
parent | 2f1413df3850a8c40ba89d8b09f2f7800ec12f45 (diff) | |
download | ogg-git-a1f7773884f0eda2ba388b8a2f7c47776060e67d.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)
svn path=/trunk/ogg/; revision=5951
Diffstat (limited to 'src')
-rw-r--r-- | src/bitwise.c | 4 |
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; |