X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Flibwebpenc_common.c;h=21d7adaf56ffee5b88daaa6f242df75eda26bbf2;hb=ebf648d490448d511b5fe970d76040169e65ef74;hp=a76b6da5d677b833082dc1ffe2d3284d82465480;hpb=a9cd11b212950a4c88a85c59e6485a5868a6bbdd;p=ffmpeg diff --git a/libavcodec/libwebpenc_common.c b/libavcodec/libwebpenc_common.c index a76b6da5d67..21d7adaf56f 100644 --- a/libavcodec/libwebpenc_common.c +++ b/libavcodec/libwebpenc_common.c @@ -167,8 +167,8 @@ int ff_libwebp_get_frame(AVCodecContext *avctx, LibWebPContextCommon *s, int sse = 0; for (p = 0; p < 3; p++) { int bs2 = bs >> !!p; - int w = FF_CEIL_RSHIFT(frame->width , !!p); - int h = FF_CEIL_RSHIFT(frame->height, !!p); + int w = AV_CEIL_RSHIFT(frame->width , !!p); + int h = AV_CEIL_RSHIFT(frame->height, !!p); int xs = x >> !!p; int ys = y >> !!p; for (y2 = ys; y2 < FFMIN(ys + bs2, h); y2++) { @@ -183,8 +183,8 @@ int ff_libwebp_get_frame(AVCodecContext *avctx, LibWebPContextCommon *s, if (!skip) for (p = 0; p < 3; p++) { int bs2 = bs >> !!p; - int w = FF_CEIL_RSHIFT(frame->width , !!p); - int h = FF_CEIL_RSHIFT(frame->height, !!p); + int w = AV_CEIL_RSHIFT(frame->width , !!p); + int h = AV_CEIL_RSHIFT(frame->height, !!p); int xs = x >> !!p; int ys = y >> !!p; for (y2 = ys; y2 < FFMIN(ys + bs2, h); y2++) {