summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/framing.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/framing.c b/src/framing.c
index 31e91c7..c025300 100644
--- a/src/framing.c
+++ b/src/framing.c
@@ -12,7 +12,7 @@
function: code raw [Vorbis] packets into framed OggSquish stream and
decode Ogg streams back into raw packets
- last mod: $Id: framing.c,v 1.20 2001/12/20 00:58:45 segher Exp $
+ last mod: $Id: framing.c,v 1.21 2002/03/07 03:36:53 xiphmont Exp $
note: The CRC code is directly derived from public domain code by
Ross Williams (ross@guest.adelaide.edu.au). See docs/framing.html
@@ -822,6 +822,12 @@ int ogg_stream_reset(ogg_stream_state *os){
return(0);
}
+int ogg_stream_reset_serialno(ogg_stream_state *os,int serialno){
+ ogg_stream_reset(os);
+ os->serialno=serialno;
+ return(0);
+}
+
static int _packetout(ogg_stream_state *os,ogg_packet *op,int adv){
/* The last part of decode. We have the stream broken into packet