projects
/
openjpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[trunk] Add documentation
[openjpeg.git]
/
tests
/
ppm2rgb3.c
diff --git
a/tests/ppm2rgb3.c
b/tests/ppm2rgb3.c
index c9b4772ac6724a74a279781ecc600a57608e125f..58e7102c8e7b4aa14cd5789acc0a3781e87b69bf 100644
(file)
--- a/
tests/ppm2rgb3.c
+++ b/
tests/ppm2rgb3.c
@@
-120,7
+120,11
@@
int main(int argc, char *argv[])
int X, Y, bpp;
int ok = 0;
- if( argc < 2 ) goto cleanup;
+ if( argc < 2 )
+ {
+ fprintf( stderr, "%s input.ppm\n", argv[0] );
+ goto cleanup;
+ }
fn = argv[1];
ppm = fopen( fn, "rb" );