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

(-)a/src/share/native/sun/awt/splashscreen/splashscreen_gif.c (+9 lines)
Lines 316-324 Link Here
316
int
316
int
317
SplashDecodeGifStream(Splash * splash, SplashStream * stream)
317
SplashDecodeGifStream(Splash * splash, SplashStream * stream)
318
{
318
{
319
#ifdef GIFLIB_MAJOR >= 5
320
    int error = 0;
321
    GifFileType *gif = DGifOpen((void *) stream, SplashStreamGifInputFunc, &error);
322
323
    if (error)
324
	return 0;
325
#else
319
    GifFileType *gif = DGifOpen((void *) stream, SplashStreamGifInputFunc);
326
    GifFileType *gif = DGifOpen((void *) stream, SplashStreamGifInputFunc);
320
327
321
    if (!gif)
328
    if (!gif)
322
        return 0;
329
        return 0;
330
#endif
331
323
    return SplashDecodeGif(splash, gif);
332
    return SplashDecodeGif(splash, gif);
324
}
333
}

Return to bug 457636