summaryrefslogtreecommitdiff
path: root/graphics/openimageio/patches/patch-src_gif.imageio_gifinput.cpp
blob: bd74a6678781b03650a399947cd543e65a46401b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-src_gif.imageio_gifinput.cpp,v 1.1 2014/05/30 11:33:32 joerg Exp $

--- src/gif.imageio/gifinput.cpp.orig	2014-05-28 13:28:44.000000000 +0000
+++ src/gif.imageio/gifinput.cpp
@@ -497,7 +497,7 @@ inline bool
 GIFInput::close (void)
 {
     if (m_gif_file) {
-        if (DGifCloseFile (m_gif_file) == GIF_ERROR) {
+        if (DGifCloseFile (m_gif_file, NULL) == GIF_ERROR) {
             error ("Error trying to close the file.");
             return false;
         }