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
commit91588b789a6c3429e85a0019cce2bdcc0eea2aa1 (patch)
tree75f0eb8d0d4e5e566a3472f45a713b32cef36ca3 /include
parentfd6f86b5d0f47e23b13171118ec4cd0ff44e3741 (diff)
downloadogg-91588b789a6c3429e85a0019cce2bdcc0eea2aa1.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 git-svn-id: http://svn.xiph.org/trunk/ogg@3125 0101bb08-14d6-0310-b084-bc0e0c8e3800
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);