… | |
… | |
332 | outputbyte = 0; |
332 | outputbyte = 0; |
333 | for (y = 0; y < ysize; y++) { |
333 | for (y = 0; y < ysize; y++) { |
334 | outputbytenr = 0; |
334 | outputbytenr = 0; |
335 | for (x = 0; x < xsize; x++) { |
335 | for (x = 0; x < xsize; x++) { |
336 | if (!(pixelptr = psiconv_list_get(pixels,y*xsize+x))) { |
336 | if (!(pixelptr = psiconv_list_get(pixels,y*xsize+x))) { |
337 | psiconv_error(config,lev,0,"Massive internal corruption"); |
337 | psiconv_error(config,lev,0,"Data structure corruption"); |
338 | res = -PSICONV_E_NOMEM; |
338 | res = -PSICONV_E_NOMEM; |
339 | goto ERROR2; |
339 | goto ERROR2; |
340 | } |
340 | } |
341 | inputbitsleft = colordepth; |
341 | inputbitsleft = colordepth; |
342 | inputdata = *pixelptr; |
342 | inputdata = *pixelptr; |