summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorJun Zhao <barryjzhao@tencent.com>2019-10-09 22:14:49 +0800
committerJun Zhao <barryjzhao@tencent.com>2019-10-10 09:10:02 +0800
commit7ab4fbdebcf1c319298d7319b89fc514620a824f (patch)
tree286e66fa5dbeebe6e8503e3618919fb035e45b07 /libavfilter
parentcc52815b820450f0101df8061aa2c0448ec52263 (diff)
lavfi/v360: remove unnecessary cast for void *
Remove unnecessary cast for void * pointer. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_v360.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_v360.c b/libavfilter/vf_v360.c
index a28a03de6c..a0f3c52d93 100644
--- a/libavfilter/vf_v360.c
+++ b/libavfilter/vf_v360.c
@@ -226,7 +226,7 @@ DEFINE_REMAP1_LINE(16, 2)
#define DEFINE_REMAP(ws, bits) \
static int remap##ws##_##bits##bit_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) \
{ \
- ThreadData *td = (ThreadData*)arg; \
+ ThreadData *td = arg; \
const V360Context *s = ctx->priv; \
const AVFrame *in = td->in; \
AVFrame *out = td->out; \