From 4b78e16130e2ab40a4eef39aca40d564af23727f Mon Sep 17 00:00:00 2001 From: Simone Gotti Date: Mon, 29 Jul 2024 13:09:43 +0200 Subject: [PATCH] FramesData: add missing isDNG initialization. FramesData isDNG wasn't initialized. This will randomly cause images to be considered as dng files when the underlying value is different than 0 since the metadata parsing could exit before the code that checks for the Exif.Image.DNGVersion tag. --- rtengine/imagedata.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/rtengine/imagedata.cc b/rtengine/imagedata.cc index 77be8c1a3..e9458f3ce 100644 --- a/rtengine/imagedata.cc +++ b/rtengine/imagedata.cc @@ -274,6 +274,7 @@ FramesData::FramesData(const Glib::ustring &fname, time_t ts) : sampleFormat(IIOSF_UNKNOWN), isPixelShift(false), isHDR(false), + isDNG(false), w_(-1), h_(-1) {