ENH: Upon failure, properly return error code (!=0)
This commit is contained in:
parent
53471a76f1
commit
2479921c71
|
@ -5,6 +5,9 @@ What's New for OpenJPEG
|
||||||
! : changed
|
! : changed
|
||||||
+ : added
|
+ : added
|
||||||
|
|
||||||
|
September 7, 2007
|
||||||
|
* [Mathieu Malaterre] Upon failure, properly return error code (!=0).
|
||||||
|
|
||||||
September 6, 2007
|
September 6, 2007
|
||||||
+ [Mathieu Malaterre] CMake: start compiling mj2, jpwl and jp3d
|
+ [Mathieu Malaterre] CMake: start compiling mj2, jpwl and jp3d
|
||||||
+ [Mathieu Malaterre] CMake: output all executable/libs into one single directory
|
+ [Mathieu Malaterre] CMake: output all executable/libs into one single directory
|
||||||
|
|
|
@ -1750,7 +1750,7 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
/* parse input and get user encoding parameters */
|
/* parse input and get user encoding parameters */
|
||||||
if(parse_cmdline_encoder(argc, argv, ¶meters,&img_fol, &raw_cp) == 1) {
|
if(parse_cmdline_encoder(argc, argv, ¶meters,&img_fol, &raw_cp) == 1) {
|
||||||
return 0;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (parameters.cp_cinema){
|
if (parameters.cp_cinema){
|
||||||
|
|
|
@ -522,7 +522,7 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
/* parse input and get user encoding parameters */
|
/* parse input and get user encoding parameters */
|
||||||
if(parse_cmdline_decoder(argc, argv, ¶meters,&img_fol) == 1) {
|
if(parse_cmdline_decoder(argc, argv, ¶meters,&img_fol) == 1) {
|
||||||
return 0;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(img_fol.set_imgdir==1){
|
if(img_fol.set_imgdir==1){
|
||||||
|
|
Loading…
Reference in New Issue