summaryrefslogtreecommitdiffstats
path: root/hl/tools/gif2h5
diff options
context:
space:
mode:
Diffstat (limited to 'hl/tools/gif2h5')
-rw-r--r--hl/tools/gif2h5/gif2hdf.c3
-rw-r--r--hl/tools/gif2h5/hdf2gif.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/hl/tools/gif2h5/gif2hdf.c b/hl/tools/gif2h5/gif2hdf.c
index 1225613..d5d169e 100644
--- a/hl/tools/gif2h5/gif2hdf.c
+++ b/hl/tools/gif2h5/gif2hdf.c
@@ -49,6 +49,9 @@ main(int argv , char *argc[])
GifMemoryStruct.GifApplicationExtension = NULL;
GifMemoryStruct.GifCommentExtension = NULL;
+ /* Initialize h5tools lib */
+ h5tools_init();
+
if ( argc[1] && (strcmp("-V",argc[1])==0) )
{
print_version("gif2h5");
diff --git a/hl/tools/gif2h5/hdf2gif.c b/hl/tools/gif2h5/hdf2gif.c
index cc8e864..a193240 100644
--- a/hl/tools/gif2h5/hdf2gif.c
+++ b/hl/tools/gif2h5/hdf2gif.c
@@ -70,6 +70,9 @@ int main(int argc , char **argv)
char *image_name = NULL;
int idx;
+ /* Initialize h5tools lib */
+ h5tools_init();
+
if ( argv[1] && (strcmp("-V",argv[1])==0) )
{
print_version("gif2h5");