From a0e03589d47f60c495b65aa2d7da1f186b10eefe Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Wed, 9 Oct 2019 19:24:33 +0800 Subject: [PATCH] lavfi/lenscorrection: remove unnecessary cast for void * Remove unnecessary cast for void * pointer. Reviewed-by: Paul B Mahol Signed-off-by: Jun Zhao --- libavfilter/vf_lenscorrection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_lenscorrection.c b/libavfilter/vf_lenscorrection.c index 239fe195bd..b5400a2f37 100644 --- a/libavfilter/vf_lenscorrection.c +++ b/libavfilter/vf_lenscorrection.c @@ -65,7 +65,7 @@ typedef struct ThreadData { static int filter_slice(AVFilterContext *ctx, void *arg, int job, int nb_jobs) { - ThreadData *td = (ThreadData*)arg; + ThreadData *td = arg; AVFrame *in = td->in; AVFrame *out = td->out;