lavfi/v360: remove unnecessary cast for void *
authorJun Zhao <barryjzhao@tencent.com>
Wed, 9 Oct 2019 14:14:49 +0000 (22:14 +0800)
committerJun Zhao <barryjzhao@tencent.com>
Thu, 10 Oct 2019 01:10:02 +0000 (09:10 +0800)
Remove unnecessary cast for void * pointer.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
libavfilter/vf_v360.c

index a28a03d..a0f3c52 100644 (file)
@@ -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;                                                                                \