Fixes for celt_header_to_packet / celtdec for bigendian systems.
Add some paranoid validation to the header functions.
This commit is contained in:
parent
a80958b025
commit
66a57c8e96
2 changed files with 35 additions and 6 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue