diff --git a/client/oggDecoder.cpp b/client/oggDecoder.cpp index d30852d9..f9d6b653 100644 --- a/client/oggDecoder.cpp +++ b/client/oggDecoder.cpp @@ -11,6 +11,7 @@ using namespace std; OggDecoder::OggDecoder() { ogg_sync_init(&oy); /* Now we can read pages */ + convsize = 4096; convbuffer = (ogg_int16_t*)malloc(convsize * sizeof(ogg_int16_t)); } diff --git a/client/oggDecoder.h b/client/oggDecoder.h index c0ca6aa2..6e44a3ba 100644 --- a/client/oggDecoder.h +++ b/client/oggDecoder.h @@ -28,7 +28,7 @@ private: vorbis_block vb; /* local working space for packet->PCM decode */ ogg_int16_t* convbuffer; /* take 8k out of the data segment, not the stack */ - int convsize=4096; + int convsize; char *buffer; int bytes;