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

(-)swftools-0.9.2.orig/src/gif2swf.c (+8 lines)
Lines 467-473 Link Here
467
467
468
    free(pal);
468
    free(pal);
469
    free(imagedata);
469
    free(imagedata);
470
#if defined(GIFLIB_MAJOR) && GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1
471
    DGifCloseFile(gft, D_GIF_SUCCEEDED);
472
#else
470
    DGifCloseFile(gft);
473
    DGifCloseFile(gft);
474
#endif
471
475
472
    return t;
476
    return t;
473
}
477
}
Lines 542-548 Link Here
542
            fprintf(stderr, "frame: %u, delay: %.3f sec\n", i + 1, getGifDelayTime(gft, i) / 100.0);
546
            fprintf(stderr, "frame: %u, delay: %.3f sec\n", i + 1, getGifDelayTime(gft, i) / 100.0);
543
    }
547
    }
544
548
549
#if defined(GIFLIB_MAJOR) && GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1
550
    DGifCloseFile(gft, D_GIF_SUCCEEDED);
551
#else
545
    DGifCloseFile(gft);
552
    DGifCloseFile(gft);
553
#endif
546
554
547
    return 0;
555
    return 0;
548
}
556
}

Return to bug 572088