From patchwork Wed Oct 9 14:48:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Zhao X-Patchwork-Id: 15638 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id E19E3448481 for ; Wed, 9 Oct 2019 17:49:10 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id CC4F2680A43; Wed, 9 Oct 2019 17:49:10 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id F086C680A43 for ; Wed, 9 Oct 2019 17:49:03 +0300 (EEST) Received: by mail-pf1-f196.google.com with SMTP id y5so1786223pfo.4 for ; Wed, 09 Oct 2019 07:49:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=cikDuOA2jB/wpHL7T/CblxRq0k86I3bxC+hYdiBwpnE=; b=ZVpQgGtuKnRKz37u9fbozva2yyO8DPmz4w/R2+LajRVeUoGtVp43fQsgou/DeipsBD hGVNMz6E6nIPgdMuIrx0EeRw11q5wIMPv06VSJ1xf5gul+sLZMi2ews03pnwP+nODv7D 1RAMOQ92N+DxPrET3vgUeca7LM1Qen/PliVwFoRvEFVemSkjLrgvxIpd2+oI2GPNbvS9 tuNEqQ2jiVszABnBauKb0vYc6+FM4vPngkyc++FmIxu0OJv/gfZY4HF3HRxAPuPhQIoz Np9tg9D096bt+tz2mMkLOv57PhF5TOl/rDGyCvWWP8RrEsPsmd0HFJYvSwuAfnEf7QiE 7iWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=cikDuOA2jB/wpHL7T/CblxRq0k86I3bxC+hYdiBwpnE=; b=ZACc+O7DzxhONtmMUJY6IvBario5/GOgHV/+0BY/KHmdBRWL4ZRCXVMJeKuBZjLXry CgsQI3nFuXJFe6WK/1ODR/ZPgOoBZdGNixnNVr/HsQ8JD/YjUry5E7V64xGmp1PQQYJ2 HF9bPsP1KUS2E6wV/XEiw/or0xLRf2eW/1HkQ643+x8qmSbXOqL1EnEyTnobYc1cQEdZ 7Gbgn65vx6eR8+/9Mf1GJ9TBR5Tb/tLZcn/7TM28L5NfSB1ESKQhYDQtv+y95orI2+we A72JA38nO2D+BRjXcVjVo7utjRmGbFefkGlrXpFblAf2OfLUdDhBuesQXaaN3SyssO5L ozHQ== X-Gm-Message-State: APjAAAXXD/L0GVOKcTUsytfrm/KOO4+SlUxPB6I29wgfnjJq4n6pJPx2 GOAU3/CdX0yP1eX5vCt9VTCEmYUa X-Google-Smtp-Source: APXvYqyZWVxBsohl5EuL6nHpmVDUn+nZljCW4kl/SzTC64rlrDmTcbL93JjsS+YoI1xAcN2S3oOsRg== X-Received: by 2002:a62:7643:: with SMTP id r64mr4220699pfc.106.1570632542332; Wed, 09 Oct 2019 07:49:02 -0700 (PDT) Received: from localhost.localdomain ([47.90.47.25]) by smtp.gmail.com with ESMTPSA id b20sm2768929pff.158.2019.10.09.07.49.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Oct 2019 07:49:01 -0700 (PDT) From: Jun Zhao To: ffmpeg-devel@ffmpeg.org Date: Wed, 9 Oct 2019 22:48:51 +0800 Message-Id: <1570632533-16101-2-git-send-email-mypopydev@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1570632533-16101-1-git-send-email-mypopydev@gmail.com> References: <1570632533-16101-1-git-send-email-mypopydev@gmail.com> Subject: [FFmpeg-devel] [PATCH V1 2/4] lavfi/lenscorrection: remove unnecessary cast for void * X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Jun Zhao MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From: Jun Zhao Remove unnecessary cast for void * pointer. Signed-off-by: Jun Zhao --- libavfilter/vf_lenscorrection.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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;