// allocate stream structure
s = (jamdecodestream_t *)Z_Malloc(sizeof(jamdecodestream_t));
memset(s, 0, sizeof(jamdecodestream_t));
// allocate stream structure
s = (jamdecodestream_t *)Z_Malloc(sizeof(jamdecodestream_t));
memset(s, 0, sizeof(jamdecodestream_t));