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

Jun Zhao mypopydev at gmail.com
Wed Oct 9 17:48:53 EEST 2019


From: Jun Zhao <barryjzhao at tencent.com>

Remove unnecessary cast for void * pointer.

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

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;                                                                                \
-- 
1.7.1



More information about the ffmpeg-devel mailing list