From cef22646c1c76352302421a2d1d58176c91ce399 Mon Sep 17 00:00:00 2001 From: Ingo Date: Mon, 26 May 2014 23:21:38 +0200 Subject: [PATCH] Pentax K-500 DNG Focal Length wrong, Issue 2399 --- rtexif/rtexif.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtexif/rtexif.cc b/rtexif/rtexif.cc index 571b69d8c..0174c33a0 100644 --- a/rtexif/rtexif.cc +++ b/rtexif/rtexif.cc @@ -802,10 +802,10 @@ Tag::Tag (TagDirectory* p, FILE* f, int base) offsetFirst = 3; // LensInfo else if( strstr(model, "645D") ) offsetFirst = 13; // LensInfo3 + else if( strstr(model, "K-01") || strstr(model, "K-30") || strstr(model, "K-500")) + offsetFirst = 15; // LensInfo5 else if( strstr(model, "K-5") || strstr(model, "K-r") ) offsetFirst = 12; // LensInfo4 - else if( strstr(model, "K-01") || strstr(model, "K-30")) - offsetFirst = 15; // LensInfo5 else if(!strncmp(make, "RICOH", 5)) { // all PENTAX camera model produced under the RICOH era uses LensInfo5, for now... offsetFirst = 15; // LensInfo5 too }