photopc.c.rej


***************
*** 1005,1011 ****
  #ifdef LOWMEMORY
         if (!thumbnail) {
                 /* we still need to read the image itself */
-                if (eph_getint(iob,0x0c,&ilength)) return -1;
                 filesize=ilength;
                 if (eph_getvar(iob,0x0e,NULL,NULL)) {
                         file_abort_cleanup();
--- 1005,1011 ----
  #ifdef LOWMEMORY
         if (!thumbnail) {
                 /* we still need to read the image itself */
+                if (eph_setint(iob,4,frame)) return -1;
                 filesize=ilength;
                 if (eph_getvar(iob,0x0e,NULL,NULL)) {
                         file_abort_cleanup();

Back