IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 30, 2015, 1:49:15 PM (11 years ago)
Author:
eugene
Message:

error handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20150429/src/libfits/extern/gzip.c

    r38334 r38339  
    200200  }
    201201
    202   // the '5' is the compression level: make this a user argument
    203   err = deflateInit(&stream, 5);
     202  // the '1' is the compression level: make this a user argument
     203  // NOTE: cfitsio uses a fixed value of 1
     204  err = deflateInit(&stream, 1);
    204205  if (0) fprintf (stderr, "inp buffers cmp 0: %d => %d => %d\n", stream.avail_in, stream.avail_out, (int) stream.total_out);
    205206
Note: See TracChangeset for help on using the changeset viewer.