lavfi/lenscorrection: remove unnecessary cast for void *
authorJun Zhao <barryjzhao@tencent.com>
Wed, 9 Oct 2019 11:24:33 +0000 (19:24 +0800)
committerJun Zhao <barryjzhao@tencent.com>
Thu, 10 Oct 2019 01:01:24 +0000 (09:01 +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_lenscorrection.c

index 239fe19..b5400a2 100644 (file)
@@ -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;