summaryrefslogtreecommitdiff
path: root/libavfilter/f_select.c
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2020-06-02 00:14:45 +0800
committerLimin Wang <lance.lmwang@gmail.com>2020-06-19 23:12:49 +0800
commit548ef7a12b565dff5dc418b378ec158a5566a127 (patch)
treed17d9b17d6f03722d754c0bdcb75e542b67e0dfc /libavfilter/f_select.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/f_select.c')
-rw-r--r--libavfilter/f_select.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c
index 755e10a399..92938c33aa 100644
--- a/libavfilter/f_select.c
+++ b/libavfilter/f_select.c
@@ -325,9 +325,6 @@ static double get_concatdec_select(AVFrame *frame, int64_t pts)
return NAN;
}
-#define D2TS(d) (isnan(d) ? AV_NOPTS_VALUE : (int64_t)(d))
-#define TS2D(ts) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts))
-
static void select_frame(AVFilterContext *ctx, AVFrame *frame)
{
SelectContext *select = ctx->priv;