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:
parent
f340bba0f2
commit
c8649d0e0b
4 changed files with 17 additions and 22 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue