fixed options and help display (patch from winfried)

This commit is contained in:
Antonin Descampe
2010-10-19 10:06:47 +00:00
parent e65ef3a24f
commit ddc9a278aa
8 changed files with 23 additions and 21 deletions

View File

@@ -81,8 +81,7 @@ int main(int argc, char *argv[]) {
unsigned int numframes = 0;
if (argc != 3) {
printf("Bad syntax: Usage: mj2_to_frames inputfile.mj2 outputfile.yuv\n");
printf("Example: MJ2_decoder foreman.mj2 foreman.yuv\n");
printf("Usage: %s inputfile.mj2 outputfile.yuv\n",argv[0]);
return 1;
}