Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 883641
Collapse All | Expand All

(-)a/libtiff/tif_write.c (-3 / +6 lines)
Lines 341-350 Link Here
341
			return ((tmsize_t) -1);
341
			return ((tmsize_t) -1);
342
	}
342
	}
343
343
344
	tif->tif_curstrip = strip;
344
    if (tif->tif_curstrip != strip)
345
    {
346
        tif->tif_curstrip = strip;
345
347
346
	/* this informs TIFFAppendToStrip() we have changed or reset strip */
348
        /* this informs TIFFAppendToStrip() we have changed or reset strip */
347
	tif->tif_curoff = 0;
349
        tif->tif_curoff = 0;
350
    }
348
351
349
        if (td->td_stripsperimage == 0) {
352
        if (td->td_stripsperimage == 0) {
350
                TIFFErrorExt(tif->tif_clientdata, module,"Zero strips per image");
353
                TIFFErrorExt(tif->tif_clientdata, module,"Zero strips per image");

Return to bug 883641