From patchwork Tue Feb 21 10:12:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Gaullier X-Patchwork-Id: 40463 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:5494:b0:bf:7b3a:fd32 with SMTP id i20csp2596791pzk; Tue, 21 Feb 2023 02:12:51 -0800 (PST) X-Google-Smtp-Source: AK7set9+hohIa4Id2Jgov1PiMHV8VkH+v0cny1jrSxcC5houNLEDgYrND2Hp+22qzE6k8HEOd4xf X-Received: by 2002:a17:906:2b16:b0:8b1:5903:6a01 with SMTP id a22-20020a1709062b1600b008b159036a01mr17378908ejg.77.1676974370924; Tue, 21 Feb 2023 02:12:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676974370; cv=none; d=google.com; s=arc-20160816; b=RJXMCpgZNv3Nbs976z7LuNkM9JR1dNPrHw17Z/snBg+oOafz3gd5eD83KUyU3/ATBl 7lHg472NAOiBL9MojYB2SfL9JQVAlw1i9N2y3w4qA1LrZMJO4rxjO7WqRjjyh9iEM4Qw woO6OvoR/GRfDtKWJ4X/WBF4SQY7st/8ktQytrFICvqsPgYfDZHqmRqX6jiczyfHv8U3 wL52EsnG+jIh0yonqKJ9tv5kOOi1dSEi7v9DwcoLg6qRBmcMAK2C+bVnMPvp7Ncc9gF5 8jxRbAbaQLZuFF6xTvw2w33IJwfCvbW5AlTQaVxaijwy+MgM3e5PaFeWPbLaLKp45KkZ OBYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:message-id:date:to:from :delivered-to; bh=h73eoTQy0J1qm+rfQVm7NnR8eXsyqsh+eZLneIc770U=; b=sEqAU7n9xOpYgYkLYHaSiz7H+6sbztTQbo+Zdoc/XZ6Rm5nLtjFDHZvy4RYvlPJwp3 xry4MnXic06MFnOKZyVRbWXflopMwKl9H3+s6CfHVzUMRaatToHOnSaw9KSRzeVcfIDZ MPZz3JmXYrF+78VlfelCdKu2kDVycvK2uf3gOi8wawbYeo7UEXnF1mksUNNBouALTk4s FwbUyRBIRNBamzoWH1zlFtz8nxSnEvVCo5T8HFKPvLzsEG3dJZUZK5UBBRoWypL9yH+v 7C0ce3RtBR/qowrtt4BNOKN7fcYLNvVUGOno1kfwtjk7/2JNNTZXrAqcI2cn0WzBniwa 31yw== 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 30-20020a170906029e00b008b123fe4f19si22430768ejf.984.2023.02.21.02.12.49; Tue, 21 Feb 2023 02:12:50 -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 B3F9E68C0C4; Tue, 21 Feb 2023 12:12:46 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from srv-infra-1.infra.inf.glb.tvvideoms.com (www.inf.tvvideoms.com [213.205.126.156]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B69C068C07A for ; Tue, 21 Feb 2023 12:12:40 +0200 (EET) Received: from cji.paris (unknown [172.16.3.159]) by srv-infra-1.infra.inf.glb.tvvideoms.com (Postfix) with ESMTP id BFF2A23490; Tue, 21 Feb 2023 10:12:39 +0000 (UTC) From: Nicolas Gaullier To: ffmpeg-devel@ffmpeg.org Date: Tue, 21 Feb 2023 11:12:32 +0100 Message-Id: <20230221101232.367336-1-nicolas.gaullier@cji.paris> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] avcodec/ac3: Remove unused fields 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 Cc: Nicolas Gaullier Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: lqCpLW4yrHLj Signed-off-by: Nicolas Gaullier --- libavcodec/ac3dec.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/ac3dec.h b/libavcodec/ac3dec.h index 138b462abb..adf82b4a98 100644 --- a/libavcodec/ac3dec.h +++ b/libavcodec/ac3dec.h @@ -90,7 +90,6 @@ typedef struct AC3DecodeContext { int lfe_on; ///< lfe channel in use int dialog_normalization[2]; ///< dialog level in dBFS (dialnorm) int compression_exists[2]; ///< compression field is valid for frame (compre) - int compression_gain[2]; ///< gain to apply for heavy compression (compr) int channel_map; ///< custom channel map (chanmap) int preferred_downmix; ///< Preferred 2-channel downmix mode (dmixmod) int center_mix_level; ///< Center mix level index @@ -100,7 +99,6 @@ typedef struct AC3DecodeContext { int lfe_mix_level_exists; ///< indicates if lfemixlevcod is specified (lfemixlevcode) int lfe_mix_level; ///< LFE mix level index (lfemixlevcod) int eac3; ///< indicates if current frame is E-AC-3 - int eac3_frame_dependent_found; ///< bitstream has E-AC-3 dependent frame(s) int eac3_subsbtreamid_found; ///< bitstream has E-AC-3 additional substream(s) int dolby_surround_mode; ///< dolby surround mode (dsurmod) int dolby_surround_ex_mode; ///< dolby surround ex mode (dsurexmod)