]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_vmafmotion.c
avfilter: Constify all AVFilters
[ffmpeg] / libavfilter / vf_vmafmotion.c
index 9bcc4ff16fd9b7a1863a070aafaeeda46d71c4c3..2db4783d8dfda6df9f7cb0b127b8517e1515ea4b 100644 (file)
@@ -27,7 +27,6 @@
 #include "libavutil/opt.h"
 #include "libavutil/pixdesc.h"
 #include "avfilter.h"
-#include "drawutils.h"
 #include "formats.h"
 #include "internal.h"
 #include "vmaf_motion.h"
@@ -177,8 +176,8 @@ static void convolution_y_##bits##bit(const uint16_t *filter, int filt_w, \
     } \
 }
 
-conv_y_fn(uint8_t, 8);
-conv_y_fn(uint16_t, 10);
+conv_y_fn(uint8_t, 8)
+conv_y_fn(uint16_t, 10)
 
 static void vmafmotiondsp_init(VMAFMotionDSPContext *dsp, int bpp) {
     dsp->convolution_x = convolution_x;
@@ -356,7 +355,7 @@ static const AVFilterPad vmafmotion_outputs[] = {
     { NULL }
 };
 
-AVFilter ff_vf_vmafmotion = {
+const AVFilter ff_vf_vmafmotion = {
     .name          = "vmafmotion",
     .description   = NULL_IF_CONFIG_SMALL("Calculate the VMAF Motion score."),
     .init          = init,