# | Line 168 | Line 168 | ra2pr() /* convert Radiance scanlines to 24-bit rast | |
---|---|---|
168 | /* allocate scanline */ | |
169 | scanin = (COLR *)malloc(xmax*sizeof(COLR)); | |
170 | if (scanin == NULL) | |
171 | < | quiterr("out of memory in pr2ra"); |
171 | > | quiterr("out of memory in ra2pr"); |
172 | /* convert image */ | |
173 | for (y = ymax-1; y >= 0; y--) { | |
174 | if (freadcolrs(scanin, xmax, stdin) < 0) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |