Squashed 'rtengine/libraw/' content from commit cccb97647
git-subtree-dir: rtengine/libraw git-subtree-split: cccb97647fcee56801fa68231fa8a38aa8b52ef7
This commit is contained in:
13
RawSpeed/rawspeed.uncompressed-color-dng.patch
Normal file
13
RawSpeed/rawspeed.uncompressed-color-dng.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/RawSpeed/DngDecoder.cpp b/RawSpeed/DngDecoder.cpp
|
||||
index 56c701b..98f2474 100644
|
||||
--- a/RawSpeed/DngDecoder.cpp
|
||||
+++ b/RawSpeed/DngDecoder.cpp
|
||||
@@ -216,7 +216,7 @@ RawImage DngDecoder::decodeRawInternal() {
|
||||
if (bps != 8 && bps != 16)
|
||||
big_endian = true;
|
||||
try {
|
||||
- readUncompressedRaw(in, size, pos, width*bps / 8, bps, big_endian ? BitOrder_Jpeg : BitOrder_Plain);
|
||||
+ readUncompressedRaw(in, size, pos, mRaw->getCpp()*width*bps / 8, bps, big_endian ? BitOrder_Jpeg : BitOrder_Plain);
|
||||
} catch(IOException &ex) {
|
||||
if (i > 0)
|
||||
mRaw->setError(ex.what());
|
Reference in New Issue
Block a user