diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-09-08 17:10:48 +0200 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-09-08 17:10:48 +0200 |
commit | 5d8e836d0ec3bcaabf5bc2020210a1bc61975922 (patch) | |
tree | 8ff87745055d571431ded709218556357b18341c /libavfilter/vf_colorlevels.c | |
parent | 151aa2ebff514a9d150a2d3a7b92be1dcc46df36 (diff) |
Replace all remaining occurances of step/depth_minus1 and offset_plus1
Diffstat (limited to 'libavfilter/vf_colorlevels.c')
-rw-r--r-- | libavfilter/vf_colorlevels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_colorlevels.c b/libavfilter/vf_colorlevels.c index 7157c9138a..cb3314b8ac 100644 --- a/libavfilter/vf_colorlevels.c +++ b/libavfilter/vf_colorlevels.c @@ -97,7 +97,7 @@ static int config_input(AVFilterLink *inlink) const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(inlink->format); s->nb_comp = desc->nb_components; - s->bpp = (desc->comp[0].depth_minus1 + 1) >> 3; + s->bpp = desc->comp[0].depth >> 3; s->step = (av_get_padded_bits_per_pixel(desc) >> 3) / s->bpp; s->linesize = inlink->w * s->step; ff_fill_rgba_map(s->rgba_map, inlink->format); |