Chris@1: Chris@1: Chris@1: Chris@1: libogg - function - ogg_stream_destroy Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1:

libogg documentation

libogg release 1.3.0 - 20110804

Chris@1: Chris@1:

ogg_stream_destroy

Chris@1: Chris@1:

declared in "ogg/ogg.h";

Chris@1: Chris@1:

This function frees the internal memory used by Chris@1: the ogg_stream_state struct as Chris@1: well as the structure itself. Chris@1: Chris@1:

This should be called when you are done working with an ogg stream. Chris@1: It can also be called to make sure that the struct does not exist.

Chris@1: Chris@1:

It calls free() on its argument, so if the ogg_stream_state Chris@1: is not malloc()'d or will otherwise be freed by your own code, use Chris@1: ogg_stream_clear instead.

Chris@1: Chris@1:

Chris@1: Chris@1: Chris@1: Chris@1: Chris@1:
Chris@1:

Chris@1: int ogg_stream_destroy(ogg_stream_state *os);
Chris@1: 
Chris@1:
Chris@1: Chris@1:

Parameters

Chris@1:
Chris@1:
os
Chris@1:
Pointer to the ogg_stream_state struct to be destroyed.
Chris@1:
Chris@1: Chris@1: Chris@1:

Return Values

Chris@1:
Chris@1:
  • Chris@1: 0 is always returned.
  • Chris@1:
    Chris@1:

    Chris@1: Chris@1:

    Chris@1:


    Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: Chris@1:

    copyright © 2000-2011 Xiph.Org

    Ogg Container Format

    libogg documentation

    libogg release 1.3.0 - 20110804

    Chris@1: Chris@1: Chris@1: Chris@1: Chris@1: