diff options
Diffstat (limited to 'libavfilter/vf_il.c')
-rw-r--r-- | libavfilter/vf_il.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_il.c b/libavfilter/vf_il.c index 7edd042626..783b91a97e 100644 --- a/libavfilter/vf_il.c +++ b/libavfilter/vf_il.c @@ -110,7 +110,7 @@ static int config_input(AVFilterLink *inlink) if ((ret = av_image_fill_linesizes(il->linesize, inlink->format, inlink->w)) < 0) return ret; - il->chroma_height = inlink->h >> desc->log2_chroma_h; + il->chroma_height = FF_CEIL_RSHIFT(inlink->h, desc->log2_chroma_h); return 0; } |