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.
This commit is contained in:
Simone Gotti 2024-07-29 13:09:43 +02:00 committed by Lawrence37
parent cc0e941652
commit 4b78e16130

View File

@ -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)
{