diff mbox

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

Message ID 1570632533-16101-2-git-send-email-mypopydev@gmail.com
State Accepted
Commit a0e03589d47f60c495b65aa2d7da1f186b10eefe
Headers show

Commit Message

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

Remove unnecessary cast for void * pointer.

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

Patch

diff --git a/libavfilter/vf_lenscorrection.c b/libavfilter/vf_lenscorrection.c
index 239fe19..b5400a2 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;