Fix crash reading Pentax metadata

This commit is contained in:
Lawrence Lee
2023-02-05 17:46:13 -08:00
parent 0421a0acfa
commit b8d25d542a

View File

@@ -430,7 +430,6 @@ FramesData::FramesData(const Glib::ustring &fname, time_t ts) :
) {
if (find_exif_tag("Exif.Pentax.DriveMode")) {
std::string buf = pos->toString(3);
buf[3] = 0;
if (buf == "HDR") {
isHDR = true;
#if PRINT_HDR_PS_DETECTION