don't allocate segments - release

This commit is contained in:
philippe44
2024-01-02 00:35:47 -08:00
parent 4abe1304e8
commit 70720d3445
4 changed files with 10 additions and 10 deletions

View File

@@ -583,7 +583,7 @@ struct streamstate {
struct {
enum { STREAM_OGG_OFF, STREAM_OGG_SYNC, STREAM_OGG_HEADER, STREAM_OGG_SEGMENTS, STREAM_OGG_PAGE } state;
u32_t want, miss, match;
u8_t* data;
u8_t* data, segments[255];
#pragma pack(push, 1)
struct {
char pattern[4];