dwebp: fix stdout related output
logic was incorrect for the error output Change-Id: I89e665f8065490e12e1bf3d3008087d42daee16b
This commit is contained in:
parent
4c7322c86f
commit
3a65122a53
@ -501,9 +501,9 @@ static int SaveOutput(const WebPDecBuffer* const buffer,
|
||||
}
|
||||
} else {
|
||||
if (fout != stdout) {
|
||||
fprintf(stderr, "Error writing to stdout !!\n");
|
||||
} else {
|
||||
fprintf(stderr, "Error writing file %s !!\n", out_file);
|
||||
} else {
|
||||
fprintf(stderr, "Error writing to stdout !!\n");
|
||||
}
|
||||
}
|
||||
return ok;
|
||||
|
Loading…
Reference in New Issue
Block a user