summaryrefslogtreecommitdiff
path: root/libavfilter/vf_rotate.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/vf_rotate.c
parent04172d233de58cbb5a2dab6839696628a97c7b52 (diff)
downloadffmpeg-548ef7a12b565dff5dc418b378ec158a5566a127.tar.gz
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_rotate.c')
-rw-r--r--libavfilter/vf_rotate.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavfilter/vf_rotate.c b/libavfilter/vf_rotate.c
index 02f56c6ebc..65c6cc411a 100644
--- a/libavfilter/vf_rotate.c
+++ b/libavfilter/vf_rotate.c
@@ -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;