X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fvsrc_testsrc.c;h=54d8b26ebbbf29bb4a558dc0b00a61b0ddf80bbb;hb=9f18be42f0af47cd88148ce2b0bfac7d2c86c89b;hp=181e2a785a7951f87f509e2e2a35ebf79eaf2a05;hpb=40231a58a0d8bffbe2264fe980483edaa6fc422e;p=ffmpeg diff --git a/libavfilter/vsrc_testsrc.c b/libavfilter/vsrc_testsrc.c index 181e2a785a7..54d8b26ebbb 100644 --- a/libavfilter/vsrc_testsrc.c +++ b/libavfilter/vsrc_testsrc.c @@ -1145,9 +1145,9 @@ static void draw_bar(TestSourceContext *test, const uint8_t color[4], if (plane == 1 || plane == 2) { px = x >> desc->log2_chroma_w; - pw = FF_CEIL_RSHIFT(w, desc->log2_chroma_w); + pw = AV_CEIL_RSHIFT(w, desc->log2_chroma_w); py = y >> desc->log2_chroma_h; - ph = FF_CEIL_RSHIFT(h, desc->log2_chroma_h); + ph = AV_CEIL_RSHIFT(h, desc->log2_chroma_h); } else { px = x; pw = w;