1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
Description: prepare for giflib5
See #803285
Applied-Upstream: https://github.com/schani/metapixel/commit/98ee9daa093b6c334941242e63f90b1c2876eb4f
--- a/rwimg/rwgif.c
+++ b/rwimg/rwgif.c
@@ -54,7 +54,7 @@
assert(data != 0);
- data->file = DGifOpenFileName(filename);
+ data->file = DGifOpenFileName(filename, NULL);
assert(data->file !=0);
@@ -137,7 +137,7 @@
}
free(buffer);
- assert(DGifCloseFile(data->file) == GIF_OK);
+ assert(DGifCloseFile(data->file, NULL) == GIF_OK);
return data;
}
|