summaryrefslogtreecommitdiff
path: root/libavfilter/vf_codecview.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_codecview.c')
-rw-r--r--libavfilter/vf_codecview.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_codecview.c b/libavfilter/vf_codecview.c
index 086a56c5b9..e70b397ee3 100644
--- a/libavfilter/vf_codecview.c
+++ b/libavfilter/vf_codecview.c
@@ -206,8 +206,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
if (qp_table) {
int x, y;
- const int w = FF_CEIL_RSHIFT(frame->width, s->hsub);
- const int h = FF_CEIL_RSHIFT(frame->height, s->vsub);
+ const int w = AV_CEIL_RSHIFT(frame->width, s->hsub);
+ const int h = AV_CEIL_RSHIFT(frame->height, s->vsub);
uint8_t *pu = frame->data[1];
uint8_t *pv = frame->data[2];
const int lzu = frame->linesize[1];