Skip to content

Commit

Permalink
fix heif_transfer_characteristic_unspecified
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Oct 30, 2023
1 parent 136cf01 commit 36326c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libheif/nclx.cc
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ void color_profile_nclx::replace_undefined_values_with_defaults()
m_colour_primaries = heif_color_primaries_ITU_R_BT_709_5;
}

if (m_transfer_characteristics == heif_color_primaries_unspecified) {
if (m_transfer_characteristics == heif_transfer_characteristic_unspecified) {
m_transfer_characteristics = heif_transfer_characteristic_IEC_61966_2_1;
}
}
Expand Down

0 comments on commit 36326c5

Please sign in to comment.