[xiph-cvs] cvs commit: ogg/src bitwise.c
Monty
xiphmont at xiph.org
Mon Jul 21 13:32:33 PDT 2003
xiphmont 03/07/21 16:32:33
Modified: include/ogg2 Tag: libogg2-zerocopy Makefile Makefile.in
ogg.h
src Tag: libogg2-zerocopy bitwise.c
Log:
Somehow oggpack_eop() was missing.
Revision Changes Path
No revision
<p>No revision
<p>1.1.2.4 +8 -8 ogg/include/ogg2/Attic/Makefile
Index: Makefile
===================================================================
RCS file: /usr/local/cvsroot/ogg/include/ogg2/Attic/Makefile,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -r1.1.2.3 -r1.1.2.4
--- Makefile 18 Jul 2003 04:45:21 -0000 1.1.2.3
+++ Makefile 21 Jul 2003 20:32:32 -0000 1.1.2.4
@@ -1,4 +1,5 @@
-# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
+# Generated automatically from Makefile.in by configure.
+# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
@@ -15,7 +16,6 @@
srcdir = .
top_srcdir = ../..
-
prefix = /usr/local
exec_prefix = ${prefix}
@@ -39,15 +39,15 @@
top_builddir = ../..
-ACLOCAL = aclocal-1.4
+ACLOCAL = aclocal
AUTOCONF = autoconf
-AUTOMAKE = automake-1.4
+AUTOMAKE = automake
AUTOHEADER = autoheader
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = ${INSTALL} -m 644
-INSTALL_SCRIPT = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL_PROGRAM}
transform = s,x,x,
NORMAL_INSTALL = :
@@ -56,8 +56,8 @@
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
-host_alias =
-host_triplet = i686-pc-linux-gnu
+host_alias = powerpc-unknown-linux-gnu
+host_triplet = powerpc-unknown-linux-gnu
AS = @AS@
CC = gcc
CFLAGS = -O20 -ffast-math -fsigned-char -g -O2 -DUSE_POSIX_THREADS
@@ -72,7 +72,7 @@
LIB_CURRENT = 6
LIB_REVISION = 0
LN_S = ln -s
-MAKEINFO = /home/xiphmont/MotherfishCVS/ogg/missing makeinfo
+MAKEINFO = makeinfo
OBJDUMP = @OBJDUMP@
OBJEXT = o
OPT =
<p><p>1.1.2.4 +1 -1 ogg/include/ogg2/Attic/Makefile.in
Index: Makefile.in
===================================================================
RCS file: /usr/local/cvsroot/ogg/include/ogg2/Attic/Makefile.in,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -r1.1.2.3 -r1.1.2.4
--- Makefile.in 18 Jul 2003 04:45:21 -0000 1.1.2.3
+++ Makefile.in 21 Jul 2003 20:32:32 -0000 1.1.2.4
@@ -1,4 +1,4 @@
-# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
+# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
<p><p>1.1.2.6 +3 -1 ogg/include/ogg2/Attic/ogg.h
Index: ogg.h
===================================================================
RCS file: /usr/local/cvsroot/ogg/include/ogg2/Attic/ogg.h,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -u -r1.1.2.5 -r1.1.2.6
--- ogg.h 20 Jul 2003 07:32:27 -0000 1.1.2.5
+++ ogg.h 21 Jul 2003 20:32:32 -0000 1.1.2.6
@@ -11,7 +11,7 @@
********************************************************************
function: toplevel libogg include
- last mod: $Id: ogg.h,v 1.1.2.5 2003/07/20 07:32:27 xiphmont Exp $
+ last mod: $Id: ogg.h,v 1.1.2.6 2003/07/21 20:32:32 xiphmont Exp $
********************************************************************/
#ifndef _OGG_H
@@ -74,6 +74,7 @@
extern long oggpack_read1(oggpack_buffer *b);
extern long oggpack_bytes(oggpack_buffer *b);
extern long oggpack_bits(oggpack_buffer *b);
+extern int oggpack_eop(oggpack_buffer *b);
extern void oggpackB_writeinit(oggpack_buffer *b,ogg_buffer_state *bs);
extern ogg_reference *oggpackB_writebuffer(oggpack_buffer *b);
@@ -89,6 +90,7 @@
extern long oggpackB_read1(oggpack_buffer *b);
extern long oggpackB_bytes(oggpack_buffer *b);
extern long oggpackB_bits(oggpack_buffer *b);
+extern int oggpackB_eop(oggpack_buffer *b);
/* Ogg BITSTREAM PRIMITIVES: encoding **************************/
extern long ogg_sync_bufferout(ogg_sync_state *oy, unsigned char **buffer);
<p><p>No revision
<p>No revision
<p>1.14.2.16 +9 -2 ogg/src/bitwise.c
Index: bitwise.c
===================================================================
RCS file: /usr/local/cvsroot/ogg/src/bitwise.c,v
retrieving revision 1.14.2.15
retrieving revision 1.14.2.16
diff -u -r1.14.2.15 -r1.14.2.16
--- bitwise.c 20 Jul 2003 07:32:27 -0000 1.14.2.15
+++ bitwise.c 21 Jul 2003 20:32:33 -0000 1.14.2.16
@@ -11,7 +11,7 @@
********************************************************************
function: pack variable sized words into an octet stream
- last mod: $Id: bitwise.c,v 1.14.2.15 2003/07/20 07:32:27 xiphmont Exp $
+ last mod: $Id: bitwise.c,v 1.14.2.16 2003/07/21 20:32:33 xiphmont Exp $
********************************************************************/
@@ -640,7 +640,14 @@
long oggpackB_bits(oggpack_buffer *b){
return oggpack_bits(b);
}
-
+
+int oggpack_eop(oggpack_buffer *b){
+ return(b->headend<0?-1:0);
+}
+
+int oggpackB_eop(oggpack_buffer *b){
+ return oggpack_eop(b);
+}
/* Self test of the bitwise routines; everything else is based on
them, so they damned well better be solid. */
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list