]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_decimate.c
Merge commit '2862b63783b5556f7f3fb2d097629bc6879f833a'
[ffmpeg] / libavfilter / vf_decimate.c
index 8b950b496cd6663af04887cfeaf823d198012070..e2c0a32dbe9d66bec8750cee102c6a227356ac7b 100644 (file)
@@ -93,8 +93,8 @@ static void calc_diffs(const DecimateContext *dm, struct qitem *q,
         const int linesize2 = f2->linesize[plane];
         const uint8_t *f1p = f1->data[plane];
         const uint8_t *f2p = f2->data[plane];
-        int width    = plane ? FF_CEIL_RSHIFT(f1->width,  dm->hsub) : f1->width;
-        int height   = plane ? FF_CEIL_RSHIFT(f1->height, dm->vsub) : f1->height;
+        int width    = plane ? AV_CEIL_RSHIFT(f1->width,  dm->hsub) : f1->width;
+        int height   = plane ? AV_CEIL_RSHIFT(f1->height, dm->vsub) : f1->height;
         int hblockx  = dm->blockx / 2;
         int hblocky  = dm->blocky / 2;