summaryrefslogtreecommitdiffstats
path: root/hl/tools/gif2h5
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-02-27 20:26:55 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-02-27 20:26:55 (GMT)
commitfc48c675e152200ca68b620de052b84a24cc8494 (patch)
treeb62d1dfb6f44815d2e30205da1c2777d7c521807 /hl/tools/gif2h5
parent9ae8cffe920d5f63f163b46fe226812bd4d0fedd (diff)
downloadhdf5-fc48c675e152200ca68b620de052b84a24cc8494.zip
hdf5-fc48c675e152200ca68b620de052b84a24cc8494.tar.gz
hdf5-fc48c675e152200ca68b620de052b84a24cc8494.tar.bz2
[svn-r21996] Add tools_init to main
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");