Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2020-06-01 19:14:45 +0300
committerLimin Wang <lance.lmwang@gmail.com>2020-06-19 18:12:49 +0300
commit548ef7a12b565dff5dc418b378ec158a5566a127 (patch)
treed17d9b17d6f03722d754c0bdcb75e542b67e0dfc /libavfilter/vf_hue.c
parent04172d233de58cbb5a2dab6839696628a97c7b52 (diff)
avfilter: add D2TS, TS2D, TS2T as a common macro in internal.h
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavfilter/vf_hue.c')
-rw-r--r--libavfilter/vf_hue.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavfilter/vf_hue.c b/libavfilter/vf_hue.c
index b75ef21058..1499c05cbd 100644
--- a/libavfilter/vf_hue.c
+++ b/libavfilter/vf_hue.c
@@ -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;