minor changes in header inclusions
[openjpeg.git] / mj2 / frames_to_mj2.c
index 9a5ba64005a053e5e4be98886a806820982e2d83..6b1fd536a4589da120169f9f49c79424d1b5a12a 100644 (file)
 #include <string.h>
 
 #include "openjpeg.h"
-#include "j2k_lib.h"
-#include "j2k.h"
-#include "jp2.h"
-#include "cio.h"
+#include "../libopenjpeg/j2k_lib.h"
+#include "../libopenjpeg/j2k.h"
+#include "../libopenjpeg/jp2.h"
+#include "../libopenjpeg/cio.h"
 #include "mj2.h"
 #include "mj2_convert.h"
 #include "getopt.h"
@@ -72,7 +72,7 @@ void info_callback(const char *msg, void *client_data) {
 
 void help_display()
 {
-  fprintf(stdout,"HELP\n----\n\n");
+  fprintf(stdout,"HELP for frames_to_mj2\n----\n\n");
   fprintf(stdout,"- the -h option displays this help information on screen\n\n");
   
   
@@ -285,7 +285,7 @@ int main(int argc, char **argv)
 
   while (1) {
     int c = getopt(argc, argv,
-      "i:o:r:q:f:t:n:c:b:p:s:d:h P:S:E:M:R:T:C:I:W:F:");
+      "i:o:r:q:f:t:n:c:b:p:s:d:P:S:E:M:R:T:C:I:W:F:h");
     if (c == -1)
       break;
     switch (c) {
@@ -611,7 +611,7 @@ int main(int argc, char **argv)
   /* -------------- */
        if (!mj2_parameters.cod_format || !mj2_parameters.decod_format) {
     fprintf(stderr,
-      "Correct usage: mj2_encoder -i yuv-file -o mj2-file (+ options)\n");
+      "Usage: %s -i yuv-file -o mj2-file (+ options)\n",argv[0]);
     return 1;
   }