Implement missing n_pchannels for AMF format reader

This commit is contained in:
Chris Moeller 2015-08-08 21:26:05 -07:00 committed by Randy Heit
parent 865f083128
commit 45e031170e

View file

@ -321,6 +321,8 @@ static DUMB_IT_SIGDATA *it_amf_load_sigdata(DUMBFILE *f, int * version)
return NULL; return NULL;
} }
sigdata->n_pchannels = nchannels;
memset( sigdata->channel_volume, 64, DUMB_IT_N_CHANNELS ); memset( sigdata->channel_volume, 64, DUMB_IT_N_CHANNELS );
if ( ver >= 11 ) { if ( ver >= 11 ) {