diff options
| author | Antonin Descampe <antonin@gmail.com> | 2005-05-26 15:18:56 +0000 |
|---|---|---|
| committer | Antonin Descampe <antonin@gmail.com> | 2005-05-26 15:18:56 +0000 |
| commit | ec1b970a32f95c094423b7d74d8191fde0ca37a4 (patch) | |
| tree | e129859275592fd0cd8929ba4ab9fd61398dda5a /codec | |
| parent | ee6d0cfba9b19820157414830039e49714aea5cf (diff) | |
argv[2] replaced by outfile when writing to output file (thanks to O.Smeesters and V.Mesaros)
Diffstat (limited to 'codec')
| -rw-r--r-- | codec/j2k_to_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codec/j2k_to_image.c b/codec/j2k_to_image.c index 9f2c30d0..00fca99c 100644 --- a/codec/j2k_to_image.c +++ b/codec/j2k_to_image.c @@ -639,7 +639,7 @@ int main(int argc, char **argv) 8 bits non code (Gray scale) <<-- <<-- <<-- <<-- */ - fdest = fopen(argv[2], "wb"); + fdest = fopen(outfile, "wb"); // w = int_ceildiv(img.x1 - img.x0, img.comps[0].dx); // wr = int_ceildiv(int_ceildivpow2(img.x1 - img.x0,img.factor), img.comps[0].dx); w = img.comps[0].w; |
