Wykres commitów

2 Commity (1fe94e6674d0572d2408361903730f012c60fc6c)

Autor SHA1 Wiadomość Data
Olaf Meeuwissen 92e59791d2 Fix [-Werror=implicit-function-declaration] compiler error
The fileno() is only available if its feature test macro passes.  The
various symbols are defined appropriately in ../include/sane/config.h
during configuration of the build.
2017-04-30 20:05:12 +09:00
Aaron Muir Hamilton 2c653a926a Separate ICC profile loading into a separate file.
This cuts out some duplicate code, and enables us to reuse this
  logic for PNG, JPEG, and any other future output format.
  sanei_load_icc_profile also allows us to know that an ICC profile
  file is not long enough before we start to write it to the output;
  this should prevent poorly-written software from overflowing into
  image data when they read the bad profile based on its length.
2017-04-30 18:54:18 +09:00