mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-05-06 06:29:09 +08:00
avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPAT
Libav, for some reason, merged this as a public API function. This will aid in future merges. A define is left for backwards compat, just in case some person used it, since it is in a public header. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
@@ -173,8 +173,8 @@ static int config_input(AVFilterLink *inlink)
|
||||
if (!s->buf)
|
||||
return AVERROR(ENOMEM);
|
||||
|
||||
s->chroma_w = FF_CEIL_RSHIFT(inlink->w, hsub);
|
||||
s->chroma_h = FF_CEIL_RSHIFT(inlink->h, vsub);
|
||||
s->chroma_w = AV_CEIL_RSHIFT(inlink->w, hsub);
|
||||
s->chroma_h = AV_CEIL_RSHIFT(inlink->h, vsub);
|
||||
s->chroma_r = av_clip(((((s->radius >> hsub) + (s->radius >> vsub)) / 2 ) + 1) & ~1, 4, 32);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user