]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_hue.c
avcodec/mjpegdec: fix SOF check in EOI
[ffmpeg] / libavfilter / vf_hue.c
index b75ef21058786149a9c2f248d493012cd26329a3..3d250dbe250b57bc131da82a15a6d7d821cc5f14 100644 (file)
@@ -363,9 +363,6 @@ static void apply_lut10(HueContext *s,
     }
 }
 
-#define TS2D(ts) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts))
-#define TS2T(ts, tb) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts) * av_q2d(tb))
-
 static int filter_frame(AVFilterLink *inlink, AVFrame *inpic)
 {
     HueContext *hue = inlink->dst->priv;
@@ -519,7 +516,7 @@ static const AVFilterPad hue_outputs[] = {
     { NULL }
 };
 
-AVFilter ff_vf_hue = {
+const AVFilter ff_vf_hue = {
     .name            = "hue",
     .description     = NULL_IF_CONFIG_SMALL("Adjust the hue and saturation of the input video."),
     .priv_size       = sizeof(HueContext),