]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_framepack.c
Merge commit 'c4de754d4dac5ddae4d5a6f02798c0f560771921'
[ffmpeg] / libavfilter / vf_framepack.c
index 5533c44c825c8985940e0e70c41218035d588f5c..a5cd9540b97ce73c1f19b308540de3d65fd88b46 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <string.h>
 
+#include "libavutil/common.h"
 #include "libavutil/imgutils.h"
 #include "libavutil/opt.h"
 #include "libavutil/pixdesc.h"
@@ -160,8 +161,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;