Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 77932 | Differences between
and this patch

Collapse All | Expand All

(-)coders/psd.c~ (+1 lines)
Lines 558-563 static Image *ReadPSDImage(const ImageIn Link Here
558
    ThrowReaderException(CorruptImageWarning,"Not a PSD image file",image);
558
    ThrowReaderException(CorruptImageWarning,"Not a PSD image file",image);
559
  (void) ReadBlob(image,6,(char *) psd_info.reserved);
559
  (void) ReadBlob(image,6,(char *) psd_info.reserved);
560
  psd_info.channels=ReadBlobMSBShort(image);
560
  psd_info.channels=ReadBlobMSBShort(image);
561
  if (psd_info.channels > 24) psd_info.channels = 24;
561
  psd_info.rows=ReadBlobMSBLong(image);
562
  psd_info.rows=ReadBlobMSBLong(image);
562
  psd_info.columns=ReadBlobMSBLong(image);
563
  psd_info.columns=ReadBlobMSBLong(image);
563
  psd_info.depth=ReadBlobMSBShort(image);
564
  psd_info.depth=ReadBlobMSBShort(image);

Return to bug 77932