Gives the Opus code direct access to (non-opaque) OpusRepacketizer

This avoids potential alignment issues with allocating a char
array on the stack.
This commit is contained in:
Jean-Marc Valin 2011-10-27 22:25:33 -04:00
parent f340bba0f2
commit c8649d0e0b
4 changed files with 17 additions and 22 deletions

View file

@ -33,15 +33,6 @@
#include "opus_private.h"
#include "os_support.h"
struct OpusRepacketizer {
unsigned char toc;
int nb_frames;
const unsigned char *frames[48];
short len[48];
int framesize;
};
int opus_repacketizer_get_size(void)
{