# | Line 344 | Line 344 | getfovimg(void) /* load foveal sampled image */ | |
---|---|---|
344 | sprintf(combuf, "pfilt -1 -b -pa 0 -x %d -y %d \"%s\"", fvxr, fvyr, infn); | |
345 | if ((fp = popen(combuf, "r")) == NULL) | |
346 | syserror("popen"); | |
347 | + | SET_FILE_BINARY(fp); |
348 | getheader(fp, NULL, NULL); /* skip header */ | |
349 | if (fgetresolu(&x, &y, fp) < 0 || (x != fvxr) | (y != fvyr)) | |
350 | goto readerr; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |