From Clement Boesch, "Fix remaining bit of Giflib5 usage"

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/branches/OpenSceneGraph-3.2@14487 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield
2014-11-19 17:31:00 +00:00
parent 0ec0b79d6c
commit 0dd978df7a

View File

@@ -561,7 +561,11 @@ GifImageStream** obj)
*width_ret = giffile->SWidth;
*height_ret = giffile->SHeight;
*numComponents_ret = 4;
#if (GIFLIB_MAJOR >= 5)
DGifCloseFile(giffile, &Error);
#else
DGifCloseFile(giffile);
#endif
return buffer;
}