Where was ogg_sync_destroy... silly xiphmont :)
svn path=/trunk/ogg/; revision=703
This commit is contained in:
parent
768a677a97
commit
38de061e69
@ -120,8 +120,8 @@ extern int ogg_stream_flush(ogg_stream_state *os, ogg_page *og);
|
||||
|
||||
extern int ogg_sync_init(ogg_sync_state *oy);
|
||||
extern int ogg_sync_clear(ogg_sync_state *oy);
|
||||
extern int ogg_sync_destroy(ogg_sync_state *oy);
|
||||
extern int ogg_sync_reset(ogg_sync_state *oy);
|
||||
extern int ogg_sync_destroy(ogg_sync_state *oy);
|
||||
|
||||
extern char *ogg_sync_buffer(ogg_sync_state *oy, long size);
|
||||
extern int ogg_sync_wrote(ogg_sync_state *oy, long bytes);
|
||||
|
@ -13,7 +13,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.3 2000/09/26 19:29:22 jack Exp $
|
||||
last mod: $Id: framing.c,v 1.4 2000/09/28 05:01:56 jack Exp $
|
||||
|
||||
note: The CRC code is directly derived from public domain code by
|
||||
Ross Williams (ross@guest.adelaide.edu.au). See docs/framing.html
|
||||
@ -411,6 +411,14 @@ int ogg_sync_clear(ogg_sync_state *oy){
|
||||
return(0);
|
||||
}
|
||||
|
||||
int ogg_sync_destroy(ogg_sync_state *oy){
|
||||
if(oy){
|
||||
ogg_sync_clear(oy);
|
||||
free(oy);
|
||||
}
|
||||
return(0);
|
||||
}
|
||||
|
||||
char *ogg_sync_buffer(ogg_sync_state *oy, long size){
|
||||
|
||||
/* first, clear out any space that has been previously returned */
|
||||
|
Loading…
Reference in New Issue
Block a user