search for: ov_clearp

Displaying 1 result from an estimated 1 matches for "ov_clearp".

Did you mean: ov_clear
2004 Sep 07
3
Introducing ov_open_callbacksp and ov_clearp
...returned (which seems to me a somewhat bad design because you'll get stuck with that: each time an internal modification will occur, outer code may have to be fixed or re-compiled). I propose to add that to vorbisfile.h: /* same as ov_clear but frees memory associated to vf too */ IMPORT_C int ov_clearp(OggVorbis_File *vf); /* same ov_open_callbacks but also allocates the OggVorbis_File object into *vf, if any error happen, returns same code as ov_open_callbacks and free any memory allocated */ IMPORT_C int ov_open_callbacksp(void *datasource, OggVorbis_File **vf, char *initial, long ibytes, ov_...