Bugfix for myfile.h, Issue 1303 #11, thanks to drougge

This commit is contained in:
Ingo 2015-02-28 19:03:43 +01:00
parent bb2c65be1c
commit fd7de26993
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ inline void fseek (IMFILE* f, int p, int how) {
else if (how==SEEK_CUR)
f->pos += p;
else if (how==SEEK_END)
f->pos = f->size-p;
f->pos = f->size+p;
if (f->pos < 0 || f->pos> f->size)
f->pos = fpos;

View File

@ -467,7 +467,7 @@ IImage16* processImage (ProcessingJob* pjob, int& errorCode, ProgressListener* p
}
printf("SIMPL cha=%f red=%f bl=%f \n",chM,maxr,maxb);
// printf("SIMPL cha=%f red=%f bl=%f \n",chM,maxr,maxb);
params.dirpyrDenoise.chroma=chM/(autoNR*multip*adjustr);
params.dirpyrDenoise.redchro=maxr;