[FFmpeg-cvslog] lavfi/lenscorrection: remove unnecessary cast for void *

Jun Zhao git at videolan.org
Thu Oct 10 04:12:23 EEST 2019


ffmpeg | branch: master | Jun Zhao <barryjzhao at tencent.com> | Wed Oct  9 19:24:33 2019 +0800| [a0e03589d47f60c495b65aa2d7da1f186b10eefe] | committer: Jun Zhao

lavfi/lenscorrection: remove unnecessary cast for void *

Remove unnecessary cast for void * pointer.

Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Jun Zhao <barryjzhao at tencent.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a0e03589d47f60c495b65aa2d7da1f186b10eefe
---

 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;
 



More information about the ffmpeg-cvslog mailing list