From 7ab4fbdebcf1c319298d7319b89fc514620a824f Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Wed, 9 Oct 2019 22:14:49 +0800 Subject: [PATCH] lavfi/v360: remove unnecessary cast for void * Remove unnecessary cast for void * pointer. Reviewed-by: Paul B Mahol Signed-off-by: Jun Zhao --- libavfilter/vf_v360.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; \