summaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_framepack.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_framepack.c')
-rw-r--r--libavfilter/vf_framepack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_framepack.c b/libavfilter/vf_framepack.c
index 5533c44..dc9f38b 100644
--- a/libavfilter/vf_framepack.c
+++ b/libavfilter/vf_framepack.c
@@ -160,8 +160,8 @@ static void horizontal_frame_pack(AVFilterLink *outlink,
for (plane = 0; plane < s->pix_desc->nb_components; plane++) {
if (plane == 1 || plane == 2) {
- length = FF_CEIL_RSHIFT(out->width / 2, s->pix_desc->log2_chroma_w);
- lines = FF_CEIL_RSHIFT(out->height, s->pix_desc->log2_chroma_h);
+ length = AV_CEIL_RSHIFT(out->width / 2, s->pix_desc->log2_chroma_w);
+ lines = AV_CEIL_RSHIFT(out->height, s->pix_desc->log2_chroma_h);
}
for (i = 0; i < lines; i++) {
int j;
OpenPOWER on IntegriCloud