Mercurial > hg > dmlib
comparison lib64gfx.c @ 515:a896c1153e4e
s/decenc/encdec/g
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 19 Nov 2012 16:58:22 +0200 |
parents | c9b9f912acfb |
children | 6f141f760c54 |
comparison
equal
deleted
inserted
replaced
514:c9b9f912acfb | 515:a896c1153e4e |
---|---|
440 return DMERR_NULLPTR; | 440 return DMERR_NULLPTR; |
441 | 441 |
442 memset(img, 0, sizeof(*img)); | 442 memset(img, 0, sizeof(*img)); |
443 img->type = fmt->type; | 443 img->type = fmt->type; |
444 | 444 |
445 for (i = 0; i < fmt->ndecencOps; i++) | 445 for (i = 0; i < fmt->nencdecOps; i++) |
446 { | 446 { |
447 const DMC64EncDecOp *op = &fmt->decencOps[i]; | 447 const DMC64EncDecOp *op = &fmt->encdecOps[i]; |
448 const Uint8 *src; | 448 const Uint8 *src; |
449 size_t size; | 449 size_t size; |
450 int res; | 450 int res; |
451 | 451 |
452 if ((res = dmC64SanityCheckEncDecOp(i, op)) != DMERR_OK) | 452 if ((res = dmC64SanityCheckEncDecOp(i, op)) != DMERR_OK) |