Skip to content

Commit

Permalink
A forgotton float specifier antiwarning
Browse files Browse the repository at this point in the history
  • Loading branch information
pinterf committed Mar 28, 2018
1 parent 38b61a2 commit c3bf2f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions avs_core/filters/levels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ static void get_limits(luma_chroma_limits_t &d, int bits_per_pixel) {
d.full_range_low_chroma_f = (0 - 128) / 255.0f;
d.full_range_hi_chroma_f = (255 - 128) / 255.0f;
#else
d.tv_range_low_chroma_f = tv_range_lo_chroma_8 / 255.0;
d.tv_range_hi_chroma_f = tv_range_hi_chroma_8 / 255.0;
d.tv_range_low_chroma_f = tv_range_lo_chroma_8 / 255.0f;
d.tv_range_hi_chroma_f = tv_range_hi_chroma_8 / 255.0f;
d.middle_chroma_f = 0.5f;
d.full_range_low_chroma_f = 0 / 255.0f;
d.full_range_hi_chroma_f = 255 / 255.0f;
Expand Down

0 comments on commit c3bf2f8

Please sign in to comment.