projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18c5be6
)
[trunk] Add documentation
author
Mathieu Malaterre
<mathieu.malaterre@gmail.com>
Tue, 25 Mar 2014 10:22:40 +0000
(10:22 +0000)
committer
Mathieu Malaterre
<mathieu.malaterre@gmail.com>
Tue, 25 Mar 2014 10:22:40 +0000
(10:22 +0000)
tests/ppm2rgb3.c
patch
|
blob
|
history
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" );