From patchwork Tue Feb 28 12:01:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 40547 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:d046:b0:cd:afd7:272c with SMTP id hv6csp1541682pzb; Tue, 28 Feb 2023 04:02:36 -0800 (PST) X-Google-Smtp-Source: AK7set8VBzTu9Q+9rVk2Av6UInoDvztkZCqU1Rs3b8IAMXnM0HesSzjPzHebvPF0NPgwucn7GeVB X-Received: by 2002:a17:906:3b82:b0:889:d998:1576 with SMTP id u2-20020a1709063b8200b00889d9981576mr2049765ejf.66.1677585756744; Tue, 28 Feb 2023 04:02:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677585756; cv=none; d=google.com; s=arc-20160816; b=FmeAp14hjvsoTMBJoG5WzuhNyqx2W61eAIomSyh2ip0PJ04vyRcrbbRIr+u1/au7K1 VnPYE5zhprLNrXEKRADRVEZwIwGTtnV8ZgLyv/DAWxyoyAYZieHa8Dsv60Cp2ON9NK4F AhbBaetzorRXe+qIZJIKZ8X+HMLCZIkS68ZeIFxFbFFxoDn8nInppp2I16o9LJmz0Wbx /LCZQhAMJCcHHYLBxa8QFIGfowq21hcyGnLJp58z3y2iJHHvq/MCP9LZwsyMolbLnlrG q3ao3NuM45CuZI/KbKrPgGkY6gm6mh5zpQBgzabntt4GxOaON8DZh8JgzedECVNbHQdR PEyA== 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=l1nfHNkSvIUffg9ovoTlqalBp8vQ8dUqlaZ9SFCr9SY=; b=q/t3eTiYGyuQH4YC8btGxAfaifb0DR1VNEi343fDLk4kR5/yHC9/84FiLj6cG1VTjd kQ1IoIzExHuOI3Xaw72Dclu4sd0YdUu0gTTluiGLlryOxu1yedrBSDWfRVvRTPy3sJtO pqEIeZbPHLcrpw0v8No0jCtg4QvfBOTOEdxHigaEZiQPDHbD2+d7AAOhOcTS4gsaAlG2 RTDi7ONM6vqGCOgD/YTt+cx9jfm9Rdvv4GUAROT0PNgemUk2Z4TJT20vZ1/EoZIw4EGE EoMyDevGx9ltY3fSX6cSAt+XMUwdRhGRgX5Y1Y9WBWKac9+tn+4ZbMkqkPfNhYrM4i1u /5Bg== 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: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id a5-20020a170906684500b008d89608d4a2si2409993ejs.204.2023.02.28.04.02.36; Tue, 28 Feb 2023 04:02:36 -0800 (PST) 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 ED3A268AA0F; Tue, 28 Feb 2023 14:01:36 +0200 (EET) 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 E344268ABBC for ; Tue, 28 Feb 2023 14:01:27 +0200 (EET) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id B9F0C240591 for ; Tue, 28 Feb 2023 13:01:24 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id Z9fJWZpf8-Zq for ; Tue, 28 Feb 2023 13:01:24 +0100 (CET) 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 CC5362405EC for ; Tue, 28 Feb 2023 13:01:20 +0100 (CET) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 75AEB3A0586 for ; Tue, 28 Feb 2023 13:01:14 +0100 (CET) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Tue, 28 Feb 2023 13:01:04 +0100 Message-Id: <20230228120104.2347-8-anton@khirnov.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230228120104.2347-1-anton@khirnov.net> References: <20230228120104.2347-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 8/8] lavc/libvpxenc: drop FrameListData.duration X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: Vx1WIwJFeT5v It is write-only. --- libavcodec/libvpxenc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index aeeaa0e681..3d1abb7df9 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -58,8 +58,6 @@ struct FrameListData { size_t sz; /**< length of compressed data */ int64_t pts; /**< time stamp to show frame (in timebase units) */ - unsigned long duration; /**< duration to show frame - (in timebase units) */ uint32_t flags; /**< flags for this frame */ uint64_t sse[4]; int have_sse; /**< true if we have pending sse[] */ @@ -1295,7 +1293,6 @@ static inline void cx_pktcpy(struct FrameListData *dst, VPxContext *ctx) { dst->pts = src->data.frame.pts; - dst->duration = src->data.frame.duration; dst->flags = src->data.frame.flags; dst->sz = src->data.frame.sz; dst->buf = src->data.frame.buf;