Message ID | 20230517102029.541-21-anton@khirnov.net |
---|---|
State | Accepted |
Commit | 37fcbe121d97c3c7c0ddf34d0ccd866d587b6cab |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:ba91:b0:105:feb:71f2 with SMTP id fb17csp1078456pzb; Wed, 17 May 2023 03:22:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5SaCPd3IIzomXLyE8WUjr6U4TgyacJNEEvWo4O1C+U6tVOMyIJfDW9bY+KLHkhJTtyYdvk X-Received: by 2002:a17:907:6d10:b0:96a:eb2:9c5e with SMTP id sa16-20020a1709076d1000b0096a0eb29c5emr25724901ejc.63.1684318935988; Wed, 17 May 2023 03:22:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684318935; cv=none; d=google.com; s=arc-20160816; b=Sl5hcRw94/xdNC/1wJfyOFX9BusfdqSanE3/0tbTlALY3P2E2Z1lYe1+kcsvfotm2/ 9x1Onr1r/uRvwYdMYcsbxvbISLrJd/knrwJ4UBVNHuSPNicN0ylZvQKFW9IVXvql7dTr QiyQU/ILAtTkzXKDYSL6NrA+OHyyhZrOh9njDwcC8L2OdG8xKv+xlFQfyXBO2rfwyH5k zXgNYBFESbi82XYlVFU7FMG7+UHlVUJMvk+M6BdZpDI4xh1mj5QG1Ytx6Ke04xpCj1nu BwFT39aAKsgaj2KLX7m1rpvwkK3vnQkiTc+kth71NhGXVy/Vv+RB+lg0yq3mPQa1CezO Y0jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:delivered-to; bh=Jr1U5cTEsQwwbR3/bDt89RGPdGRpfRX7JssjHaGcid0=; b=dqK3D6OVsixzWRDasRBcKrqqUKO4V8QSkfD37Fnjj4nkJw3rPRGYWjNNlnSk0Mv+8a TcvYzMSf+40FGlAZ7jMKFc+S9Coz7JBoU46Y9R4UzljYg/pQzNc4tn4ONVSLRZcHpFEp WqT1tUBho8/BFD3HxTy/hzMJyQyBl8hePEqZul5UxvjU3qd8nXPLa+TndvynWBWAJ/AP DzS9JkltGMe65Qe6WNbe06rH7jrQ1BdDgOwAoCazBl3qIDUFKZUtMadVtGwI0Zb2muk3 yRgkib+RFHrHxCCQDAnGblC1iq8brjwEIsiZefwqJ78jHzrmq42S5IxGt58DjUkRwUJH 6Auw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id qb31-20020a1709077e9f00b0096a90bba2ddsi11256955ejc.29.2023.05.17.03.22.15; Wed, 17 May 2023 03:22:15 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id BC1AE68C186; Wed, 17 May 2023 13:21:01 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6F4F368C10F for <ffmpeg-devel@ffmpeg.org>; Wed, 17 May 2023 13:20:57 +0300 (EEST) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 8C9602406CE for <ffmpeg-devel@ffmpeg.org>; Wed, 17 May 2023 12:20:52 +0200 (CEST) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id 4bYcsS9ZGo8R for <ffmpeg-devel@ffmpeg.org>; Wed, 17 May 2023 12:20:52 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:2a00:c500:561:201::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "libav.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id 2D03F2406D0 for <ffmpeg-devel@ffmpeg.org>; Wed, 17 May 2023 12:20:46 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 555663A1E22 for <ffmpeg-devel@ffmpeg.org>; Wed, 17 May 2023 12:20:40 +0200 (CEST) From: Anton Khirnov <anton@khirnov.net> To: ffmpeg-devel@ffmpeg.org Date: Wed, 17 May 2023 12:20:14 +0200 Message-Id: <20230517102029.541-21-anton@khirnov.net> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230517102029.541-1-anton@khirnov.net> References: <20230517102029.541-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 21/36] fftools/cmdutils: constify the argument of get_rotation() X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> X-TUID: XT1LXZce9945 |
Series |
[FFmpeg-devel,01/36] fftools/ffmpeg: shorten a variable name
|
expand
|
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | fail | Make fate failed |
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index a1de621d1c..9ec00add30 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -994,7 +994,7 @@ void *allocate_array_elem(void *ptr, size_t elem_size, int *nb_elems) return new_elem; } -double get_rotation(int32_t *displaymatrix) +double get_rotation(const int32_t *displaymatrix) { double theta = 0; if (displaymatrix) diff --git a/fftools/cmdutils.h b/fftools/cmdutils.h index 4496221983..0115940225 100644 --- a/fftools/cmdutils.h +++ b/fftools/cmdutils.h @@ -461,6 +461,6 @@ void *allocate_array_elem(void *array, size_t elem_size, int *nb_elems); char name[16];\ snprintf(name, sizeof(name), "%d", rate); -double get_rotation(int32_t *displaymatrix); +double get_rotation(const int32_t *displaymatrix); #endif /* FFTOOLS_CMDUTILS_H */