Fixed typo causing rendering errors of some gamma-encoded DCPs

This commit is contained in:
torger
2015-06-24 12:33:01 +02:00
parent bb611afb80
commit 36e8335658

View File

@@ -578,7 +578,7 @@ DCPProfile::DCPProfile(Glib::ustring fname, bool isRTProfile) {
if (tag!=NULL) {
DeltaInfo.iHueDivisions=tag->toInt(0); DeltaInfo.iSatDivisions=tag->toInt(4); DeltaInfo.iValDivisions=tag->toInt(8);
tag = tagDir->getTag(TagProfileLookTableEncoding);
tag = tagDir->getTag(TagProfileHueSatMapEncoding);
DeltaInfo.sRGBGamma = tag != NULL && tag->toInt(0);
tag = tagDir->getTag(TagProfileHueSatMapData1);