Mercurial > hg > dmlib
comparison minijss/jloadjss.c @ 1257:60dc14a2e4c5
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 09 Mar 2015 18:46:12 +0200 |
parents | d88d5f88b77a |
children | 197c9ccdb33c |
comparison
equal
deleted
inserted
replaced
1256:d88d5f88b77a | 1257:60dc14a2e4c5 |
---|---|
424 | 424 |
425 // Validate | 425 // Validate |
426 if (jssP.nrows == 0 || jssP.nrows > jsetMaxRows) | 426 if (jssP.nrows == 0 || jssP.nrows > jsetMaxRows) |
427 JSSERROR(DMERR_INVALID_DATA, DMERR_INVALID_DATA, | 427 JSSERROR(DMERR_INVALID_DATA, DMERR_INVALID_DATA, |
428 "Invalid number of rows in pattern #%d: %d.\n", | 428 "Invalid number of rows in pattern #%d: %d.\n", |
429 index, jssP.nrows | 429 index, jssP.nrows); |
430 | 430 |
431 // Allocate pattern | 431 // Allocate pattern |
432 pattern = module->patterns[index] = jssAllocatePattern(jssP.nrows, module->nchannels); | 432 pattern = module->patterns[index] = jssAllocatePattern(jssP.nrows, module->nchannels); |
433 if (pattern == NULL) | 433 if (pattern == NULL) |
434 JSSERROR(DMERR_MALLOC, DMERR_MALLOC, | 434 JSSERROR(DMERR_MALLOC, DMERR_MALLOC, |