diff options
author | Gregory Maxwell <greg@xiph.org> | 2009-06-29 22:03:17 +0400 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2009-06-29 22:03:17 +0400 |
commit | 66a57c8e96077a242b0157fab352590f31cce077 (patch) | |
tree | 0d6229ef04ad8feec6fd7eaaa5bdfe9d3370ea27 /libcelt/celt_header.h | |
parent | a80958b025dc69cb324043940fb3c84c03eb76ed (diff) |
Fixes for celt_header_to_packet / celtdec for bigendian systems.
Add some paranoid validation to the header functions.
Diffstat (limited to 'libcelt/celt_header.h')
-rw-r--r-- | libcelt/celt_header.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcelt/celt_header.h b/libcelt/celt_header.h index e088bb2..78a528e 100644 --- a/libcelt/celt_header.h +++ b/libcelt/celt_header.h @@ -56,7 +56,7 @@ typedef struct { } CELTHeader; /** Creates a basic header struct */ -EXPORT void celt_header_init(CELTHeader *header, const CELTMode *m); +EXPORT int celt_header_init(CELTHeader *header, const CELTMode *m); EXPORT int celt_header_to_packet(const CELTHeader *header, unsigned char *packet, celt_uint32_t size); |