Mercurial > hg > dmlib
diff minijss/jloadjss.c @ 1316:817a4d0c70b5
Comment clarifications.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 20 Aug 2017 01:55:09 +0300 |
parents | 4670907412e7 |
children | c0479e984242 |
line wrap: on
line diff
--- a/minijss/jloadjss.c Sun Aug 20 01:54:54 2017 +0300 +++ b/minijss/jloadjss.c Sun Aug 20 01:55:09 2017 +0300 @@ -625,7 +625,7 @@ size_t bsize = (inst->flags & jsf16bit) ? sizeof(Uint16) : sizeof(Uint8); bsize *= inst->size; - // Allocate + // Allocate sample data memory if ((inst->data = dmMalloc(bsize)) == NULL) { JSSERROR(DMERR_MALLOC, DMERR_MALLOC, @@ -633,7 +633,7 @@ bsize, index); } - // Copy data + // Read data if (!dmf_read_str(inFile, inst->data, bsize)) { JSSERROR(DMERR_FREAD, DMERR_FREAD,