]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_rotate.c
avfilter: Constify all AVFilters
[ffmpeg] / libavfilter / vf_rotate.c
index 02f56c6ebc3831013e504dbf2dab79bd72f4b9ce..f16207cbffe4ce50872b16345b93747ad98dbd26 100644 (file)
@@ -415,8 +415,6 @@ static av_always_inline void simple_rotate(uint8_t *dst, const uint8_t *src, int
     }
 }
 
-#define TS2T(ts, tb) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)*av_q2d(tb))
-
 static int filter_slice(AVFilterContext *ctx, void *arg, int job, int nb_jobs)
 {
     ThreadData *td = arg;
@@ -602,7 +600,7 @@ static const AVFilterPad rotate_outputs[] = {
     { NULL }
 };
 
-AVFilter ff_vf_rotate = {
+const AVFilter ff_vf_rotate = {
     .name          = "rotate",
     .description   = NULL_IF_CONFIG_SMALL("Rotate the input image."),
     .priv_size     = sizeof(RotContext),