libopusenc
libopusenc copied to clipboard
Assertion failed in ogg_packet.c line 273
Where am I taking the wrong step to receive this error? I'm just encoding a simple audio (recorded in 8kHz with 20ms frames and 8 kbps) not sure what went wrong but this seems to be a very random error, sometimes it happens, sometimes it doesn't.
https://github.com/xiph/libopusenc/blob/master/src/ogg_packer.c#L273

I'm not sure what could cause that. Can you write a short, self-contained C file that reproduces the problem?