Changeset 1803


Ignore:
Timestamp:
04/12/12 05:50:13 (13 months ago)
Author:
philmoz
Message:

Fix DNG thumbnail generation bug (thx new123456).
http://chdk.setepontos.com/index.php?topic=7958.msg84122#msg84122

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/release-1_0/core/dng.c

    r1753 r1803  
    544544    register int i, j, x, y, yadj, xadj; 
    545545    register char *buf = thumbnail_buf; 
    546     register int shift = cam_CFAPattern - 8; 
     546    register int shift = CAM_SENSOR_BITS_PER_PIXEL - 8; 
    547547 
    548548    // The sensor bayer patterns are: 
Note: See TracChangeset for help on using the changeset viewer.