Open maddin200 opened 2 weeks ago
File: /tiny_dng_loader.h line 3084
Code: if ((image_info.tile_width > 0) && (image_info.tile_length > 0)) { // Assume Lossless JPEG data is stored in tiled format. if (image_info.tile_width <= 0) { // <-- unreachable if (err) { (err) += "Invalid tile width.\n"; } return false; } if (image_info.tile_length <= 0) { // <-- unreachable if (err) { (err) += "Invalid tile length.\n"; } return false; }
You can send PR
File: /tiny_dng_loader.h line 3084
Code: if ((image_info.tile_width > 0) && (image_info.tile_length > 0)) { // Assume Lossless JPEG data is stored in tiled format. if (image_info.tile_width <= 0) { // <-- unreachable if (err) { (err) += "Invalid tile width.\n"; } return false; } if (image_info.tile_length <= 0) { // <-- unreachable if (err) { (err) += "Invalid tile length.\n"; } return false; }