| libogg documentation | libogg release 1.3.1 - 20130512 | 
declared in "ogg/ogg.h";
This function is used to destroy an ogg_sync_state struct and free all memory used.
Note this calls free() on its argument so you should only use this function if you've allocated the ogg_sync_state on the heap. If it is allocated on the stack, or it will otherwise be freed by your own code, use ogg_sync_clear instead to release just the internal memory.
| int ogg_sync_destroy(ogg_sync_state *oy); | 
0 is always returned. 
| copyright © 2000-2013 Xiph.Org | |
| libogg documentation | libogg release 1.3.1 - 20130512 |