diff options
Diffstat (limited to 'libavfilter/vf_vignette.c')
-rw-r--r-- | libavfilter/vf_vignette.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_vignette.c b/libavfilter/vf_vignette.c index 54515e6087..1d66c5025d 100644 --- a/libavfilter/vf_vignette.c +++ b/libavfilter/vf_vignette.c @@ -267,8 +267,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) const int chroma = plane == 1 || plane == 2; const int hsub = chroma ? s->desc->log2_chroma_w : 0; const int vsub = chroma ? s->desc->log2_chroma_h : 0; - const int w = FF_CEIL_RSHIFT(inlink->w, hsub); - const int h = FF_CEIL_RSHIFT(inlink->h, vsub); + const int w = AV_CEIL_RSHIFT(inlink->w, hsub); + const int h = AV_CEIL_RSHIFT(inlink->h, vsub); for (y = 0; y < h; y++) { uint8_t *dstp = dst; |