diff options
author | Monty <xiphmont@xiph.org> | 2010-06-04 05:39:45 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2010-06-04 05:39:45 +0000 |
commit | df3d17c58bd8127227ddc881050554e2711ca81f (patch) | |
tree | 3232e3f4bc33d80256bbaf8d6fdd4e6d2c8bd3eb /src/framing.c | |
parent | 3bbd3ac3c4effc7a6070e757b7ab10f02a1b90f5 (diff) | |
download | ogg-df3d17c58bd8127227ddc881050554e2711ca81f.tar.gz |
Correct packet accumulation in _packetout to accumulate a full long of bytes,
mathing the ogg_packet declaration.
git-svn-id: http://svn.xiph.org/trunk/ogg@17269 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'src/framing.c')
-rw-r--r-- | src/framing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/framing.c b/src/framing.c index 464c1a0..37e06da 100644 --- a/src/framing.c +++ b/src/framing.c @@ -972,7 +972,7 @@ static int _packetout(ogg_stream_state *os,ogg_packet *op,int adv){ /* 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? */ |