fix for newer avifile versions
[swftools.git] / avi2swf / avi2swf.cc
index 48dc921..d231762 100644 (file)
@@ -41,7 +41,14 @@ extern "C" {
 #include "../lib/q.h"
 
 #undef HAVE_CONFIG_H
-#include <avifile/version.h>
+
+#ifdef HAVE_VERSION_H
+  #include <version.h>
+#endif
+#ifdef HAVE_AVIFILE_VERSION_H
+  #include <avifile/version.h>
+#endif
+
 #if (AVIFILE_MAJOR_VERSION == 0) && (AVIFILE_MINOR_VERSION>=6) 
    #include <avifile.h>
    #include <aviplay.h>
@@ -181,7 +188,7 @@ void args_callback_usage(char *name)
     printf("-p , --flip                    Turn movie upside down\n");
     printf("-q , --quality <val>           Set the quality to <val>. (0-100, 0=worst, 100=best, default:80)\n");
     printf("-x , --extragood               Enable some *very* expensive compression strategies.\n");
-    printf("-T , --flashversion <n>        Set output flash version to <n>. Notice: H.263 compression will only be\n");
+    printf("-T , --flashversion <n>        Set output flash version to <n>.\n");
     printf("-V , --version                 Print program version and exit\n");
     printf("\n");
 }