diff options
author | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2007-11-25 13:00:57 +0300 |
---|---|---|
committer | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2007-11-25 13:00:57 +0300 |
commit | f10a97aa25b8407b8390401cb42733eb7b7b5fd4 (patch) | |
tree | a8ba68ca2419f6461c6c348af57e48ed2dcfffcb /include/speex | |
parent | dd5035ed19f6cad30241650f8653fda6b16cf91b (diff) |
added speex_header_free() for poor Windows lusers with weird libc behaviour
git-svn-id: http://svn.xiph.org/trunk/speex@14227 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'include/speex')
-rw-r--r-- | include/speex/speex_header.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/speex/speex_header.h b/include/speex/speex_header.h index 5416459..f85b249 100644 --- a/include/speex/speex_header.h +++ b/include/speex/speex_header.h @@ -83,6 +83,9 @@ char *speex_header_to_packet(SpeexHeader *header, int *size); /** Creates a SpeexHeader from a packet */ SpeexHeader *speex_packet_to_header(char *packet, int size); +/** Frees the memory allocated by either speex_header_to_packet() or speex_packet_to_header() */ +void speex_header_free(void *ptr); + #ifdef __cplusplus } #endif |