From patchwork Wed Oct 9 14:48:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Zhao X-Patchwork-Id: 15639 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 D0430448481 for ; Wed, 9 Oct 2019 17:49:15 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id BB9D16881B1; Wed, 9 Oct 2019 17:49:15 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 79288688144 for ; Wed, 9 Oct 2019 17:49:08 +0300 (EEST) Received: by mail-pg1-f196.google.com with SMTP id i32so1550007pgl.10 for ; Wed, 09 Oct 2019 07:49:08 -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=BBaHJYSijGKV+NNhvffSYvEn4oeZRvFTgyvBcTy2DIc=; b=th8cQ4YW/xYa3s+hguYXr80pXrz4hbQ40qPEIdUobX8e5L82BoQ6DuEzPv8VtClBR9 admDHiKoIgPO/lwLbxBx3HETDo6FJntZL8dF1Qb6z8LLOea2D+UyuhOwEuiyadGcWHvj 1EWOyxkBgBt67t9KYBQaclf7wi3YHQKyY+5EM1qB40aHqse2waeGQ1aQ2uBCsZ4LOwAX m+TwKS9qirn380MpwytbZc3T8KRyAg1J1rrTdhKne9MqNT5GYo8sqZq254xFl+VXrCGT 8ptkuQNvt7qeuwSG7g+eJLqtza2VOKMGsMEjliotU4an8yXBa1EI7uPY8xsozApe1Rxn v2JQ== 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=BBaHJYSijGKV+NNhvffSYvEn4oeZRvFTgyvBcTy2DIc=; b=M77Lnk0dJs48m1EcRSK4cQ0QoUL6EqbqHi+4p7YHBa2wc0620LJfX/C++uDp4V1Yfu g/+164uM0Cpr/3JMXGzcaRlemR3VeYGDnZL/w+c2+sab6zAUYZKcVgqjfMEUe9SXLH6S u949pdCXVZcIWK4pfHzebl6IqrxsoUsj1/xUVfcsGUyp0ncxlX3fZP2ya000IrL/mhdt P7dYo+v550wtNnvIhQCtU4jFeCEFrJTIkUqApCAix6BMEMYRfxx69xF9r451OW99e+T5 1WjD0y0F/I2zPFWTOTWRW50J2uxfmUsyXD6azThusroFSF9wyXocVeQhtHGVXYAU9WO9 tOnA== X-Gm-Message-State: APjAAAWqQmesImiqcvYuzjMpo4UU1TmHhuSWzpU87uEn95DzrrlJEPja DkuujlWcKXZz3kbQ/36PymK14vf5 X-Google-Smtp-Source: APXvYqwFoCA5OeFZTMfsFdzXZJzohxNTjo8036W+OxmEPrxSixLWEM0AhPX1gzIAPzPHF/nnHNj66A== X-Received: by 2002:a65:654b:: with SMTP id a11mr4843420pgw.235.1570632546718; Wed, 09 Oct 2019 07:49:06 -0700 (PDT) Received: from localhost.localdomain ([47.90.47.25]) by smtp.gmail.com with ESMTPSA id b20sm2768929pff.158.2019.10.09.07.49.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Oct 2019 07:49:06 -0700 (PDT) From: Jun Zhao To: ffmpeg-devel@ffmpeg.org Date: Wed, 9 Oct 2019 22:48:52 +0800 Message-Id: <1570632533-16101-3-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 3/4] lavfi/remap: 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_remap.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_remap.c b/libavfilter/vf_remap.c index b1c3e43..720020c 100644 --- a/libavfilter/vf_remap.c +++ b/libavfilter/vf_remap.c @@ -140,7 +140,7 @@ fail: static int remap_planar##bits##_##name##_slice(AVFilterContext *ctx, void *arg, \ int jobnr, int nb_jobs) \ { \ - const ThreadData *td = (ThreadData*)arg; \ + const ThreadData *td = arg; \ const AVFrame *in = td->in; \ const AVFrame *xin = td->xin; \ const AVFrame *yin = td->yin; \ @@ -189,7 +189,7 @@ DEFINE_REMAP_PLANAR_FUNC(nearest, 16, 2) static int remap_packed##bits##_##name##_slice(AVFilterContext *ctx, void *arg, \ int jobnr, int nb_jobs) \ { \ - const ThreadData *td = (ThreadData*)arg; \ + const ThreadData *td = arg; \ const AVFrame *in = td->in; \ const AVFrame *xin = td->xin; \ const AVFrame *yin = td->yin; \