[FFmpeg-devel,V1,4/4] lavfi/v360: remove unnecessary cast for void *

Submitted by Jun Zhao on Oct. 9, 2019, 2:48 p.m.

Details

Message ID 1570632533-16101-4-git-send-email-mypopydev@gmail.com
State Accepted
Commit 7ab4fbdebcf1c319298d7319b89fc514620a824f
Headers show

Commit Message

Jun Zhao Oct. 9, 2019, 2:48 p.m.
From: Jun Zhao <barryjzhao@tencent.com>

Remove unnecessary cast for void * pointer.

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
---
 libavfilter/vf_v360.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch hide | download patch | download mbox

diff --git a/libavfilter/vf_v360.c b/libavfilter/vf_v360.c
index a28a03d..a0f3c52 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;                                                                                \