Updated DUMB to fix two uninitialized variables
parent
d8817e8f3b
commit
cb0c43fb5f
|
@ -328,6 +328,8 @@ static DUMB_IT_SIGRENDERER *dup_sigrenderer(DUMB_IT_SIGRENDERER *src, int n_chan
|
|||
dst->time_left = src->time_left;
|
||||
dst->sub_time_left = src->sub_time_left;
|
||||
|
||||
dst->ramp_style = src->ramp_style;
|
||||
|
||||
dst->click_remover = NULL;
|
||||
|
||||
dst->callbacks = callbacks;
|
||||
|
|
|
@ -930,8 +930,10 @@ static DUMB_IT_SIGDATA *it_psm_load_sigdata(DUMBFILE *f, int * ver, int subsong)
|
|||
|
||||
sigdata->sample = malloc(sigdata->n_samples * sizeof(*sigdata->sample));
|
||||
if (!sigdata->sample) goto error_ev;
|
||||
for (n = 0; n < sigdata->n_samples; n++)
|
||||
for (n = 0; n < sigdata->n_samples; n++) {
|
||||
sigdata->sample[n].data = NULL;
|
||||
sigdata->sample[n].flags = 0;
|
||||
}
|
||||
|
||||
o = 0;
|
||||
for (n = 0; n < n_chunks; n++) {
|
||||
|
|
Loading…
Reference in New Issue