[haiku-commits] Re: haiku: hrev49417 - src/tools/hvif2png

  • From: Stephan Aßmus <superstippi@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 19 Jul 2015 13:47:37 +0200

Am 19.07.2015 um 11:43 schrieb ingo_weinhold@xxxxxx:

+ if (memcmp(result->buffer, kHvifMagic, 4) != 0) {
+ fprintf(stderr, "the input data does not look like hvif because
the"
+ " magic string is not 'ncif'; %d, %d, %d, %d\n",
+ result->buffer[0], result->buffer[1], result->buffer[2],
+ result->buffer[3]);
+ return 0;
+ }

'ncif' is little endian for Flat ICoN. Not sure if the error message should call it 'ficn' instead...

Best regards,
-Stephan



Other related posts: