[xiph-commits] r17269 - trunk/ogg/src
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Thu Jun 3 22:39:45 PDT 2010
Author: xiphmont
Date: 2010-06-03 22:39:45 -0700 (Thu, 03 Jun 2010)
New Revision: 17269
Modified:
trunk/ogg/src/framing.c
Log:
Correct packet accumulation in _packetout to accumulate a full long of bytes,
mathing the ogg_packet declaration.
Modified: trunk/ogg/src/framing.c
===================================================================
--- trunk/ogg/src/framing.c 2010-06-04 05:19:12 UTC (rev 17268)
+++ trunk/ogg/src/framing.c 2010-06-04 05:39:45 UTC (rev 17269)
@@ -972,7 +972,7 @@
/* Gather the whole packet. We'll have no holes or a partial packet */
{
int size=os->lacing_vals[ptr]&0xff;
- int bytes=size;
+ long bytes=size;
int eos=os->lacing_vals[ptr]&0x200; /* last packet of the stream? */
int bos=os->lacing_vals[ptr]&0x100; /* first packet of the stream? */
More information about the commits
mailing list