|
|
@ -567,7 +567,13 @@ void fmt_codec::read_close()
|
|
|
|
finfo.meta.clear();
|
|
|
|
finfo.meta.clear();
|
|
|
|
finfo.image.clear();
|
|
|
|
finfo.image.clear();
|
|
|
|
|
|
|
|
|
|
|
|
if(gif) DGifCloseFile(gif);
|
|
|
|
if(gif) {
|
|
|
|
|
|
|
|
#if defined(GIFLIB_MAJOR) && (GIFLIB_MAJOR > 5 || (GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1))
|
|
|
|
|
|
|
|
DGifCloseFile(gif, NULL);
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
DGifCloseFile(gif);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#include "fmt_codec_cd_func.h"
|
|
|
|
#include "fmt_codec_cd_func.h"
|
|
|
|