summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMonty <xiphmont@xiph.org>2002-03-07 03:36:53 +0000
committerMonty <xiphmont@xiph.org>2002-03-07 03:36:53 +0000
commit01960469f335203fb2fa92a1d4eb3ba11394fd58 (patch)
tree75f0eb8d0d4e5e566a3472f45a713b32cef36ca3 /include
parent18a20fb26c69b19087f6b2303b4ab5c598f5c192 (diff)
downloadogg-git-01960469f335203fb2fa92a1d4eb3ba11394fd58.tar.gz
add 'ogg_stream_reset_serialno()' because it's useful. The same
functionality before required a clear/init cycle that involved free()/malloc(). Monty svn path=/trunk/ogg/; revision=3125
Diffstat (limited to 'include')
-rw-r--r--include/ogg/ogg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ogg/ogg.h b/include/ogg/ogg.h
index 30ffa9c..41ad86a 100644
--- a/include/ogg/ogg.h
+++ b/include/ogg/ogg.h
@@ -11,7 +11,7 @@
********************************************************************
function: toplevel libogg include
- last mod: $Id: ogg.h,v 1.13 2001/12/20 00:58:44 segher Exp $
+ last mod: $Id: ogg.h,v 1.14 2002/03/07 03:36:52 xiphmont Exp $
********************************************************************/
#ifndef _OGG_H
@@ -152,6 +152,7 @@ extern int ogg_stream_packetpeek(ogg_stream_state *os,ogg_packet *op);
extern int ogg_stream_init(ogg_stream_state *os,int serialno);
extern int ogg_stream_clear(ogg_stream_state *os);
extern int ogg_stream_reset(ogg_stream_state *os);
+extern int ogg_stream_reset_serialno(ogg_stream_state *os,int serialno);
extern int ogg_stream_destroy(ogg_stream_state *os);
extern int ogg_stream_eos(ogg_stream_state *os);