]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_fade.c
avfilter/vf_waveform: add 12bit depth support
[ffmpeg] / libavfilter / vf_fade.c
index 040e3fdc53f252faef6c45646b90627c4a0b472b..f7b2b6a2384d16e91f2d059d5a54d6c507a30afe 100644 (file)
@@ -244,8 +244,8 @@ static int filter_slice_chroma(AVFilterContext *ctx, void *arg, int jobnr,
     FadeContext *s = ctx->priv;
     AVFrame *frame = arg;
     int i, j, plane;
-    const int width = FF_CEIL_RSHIFT(frame->width, s->hsub);
-    const int height= FF_CEIL_RSHIFT(frame->height, s->vsub);
+    const int width = AV_CEIL_RSHIFT(frame->width, s->hsub);
+    const int height= AV_CEIL_RSHIFT(frame->height, s->vsub);
     int slice_start = (height *  jobnr   ) / nb_jobs;
     int slice_end   = (height * (jobnr+1)) / nb_jobs;