mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-09 18:37:15 +08:00
15 lines
306 B
Diff
15 lines
306 B
Diff
--- splashscreen_gif.c 2014-05-27 22:17:19.766866065 +0200
|
|
+++ splashscreen_gif.c 2014-05-27 22:16:35.452894426 +0200
|
|
@@ -310,7 +310,11 @@
|
|
free(pBitmapBits);
|
|
free(pOldBitmapBits);
|
|
|
|
+#if GIFLIB_MAJOR >= 5
|
|
+ DGifCloseFile(gif, NULL);
|
|
+#else
|
|
DGifCloseFile(gif);
|
|
+#endif
|
|
|
|
return 1;
|
|
}
|