File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -123,22 +123,16 @@ void RafDecoder::decodeRawInternal() {
123123
124124 if (8UL * counts->getU32 () >= 2UL * 16UL * width * height) {
125125 bps = 16 ;
126- double_width = true ;
127126 } else if (8UL * counts->getU32 () >= 2UL * 14UL * width * height) {
128127 bps = 14 ;
129- double_width = true ;
130128 } else if (8UL * counts->getU32 () >= 2UL * 12UL * width * height) {
131129 bps = 12 ;
132- double_width = true ;
133130 } else if (8UL * counts->getU32 () >= 16UL * width * height) {
134131 bps = 16 ;
135- double_width = false ;
136132 } else if (8UL * counts->getU32 () >= 14UL * width * height) {
137133 bps = 14 ;
138- double_width = false ;
139134 } else if (8UL * counts->getU32 () >= 12UL * width * height) {
140135 bps = 12 ;
141- double_width = false ;
142136 } else {
143137 ThrowRDE (" Can not detect bitdepth. StripByteCounts = %u, width = %u, "
144138 " height = %u" ,
You can’t perform that action at this time.
0 commit comments