From 01960469f335203fb2fa92a1d4eb3ba11394fd58 Mon Sep 17 00:00:00 2001 From: Monty Date: Thu, 7 Mar 2002 03:36:53 +0000 Subject: 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 --- include/ogg/ogg.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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); -- cgit v1.2.1