From patchwork Sat Apr 18 00:57:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 19033 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 5F278449CC9 for ; Sat, 18 Apr 2020 03:57:36 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 39CE968BE6A; Sat, 18 Apr 2020 03:57:36 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D55EB68B907 for ; Sat, 18 Apr 2020 03:57:29 +0300 (EEST) Received: by mail-wm1-f65.google.com with SMTP id x4so4630715wmj.1 for ; Fri, 17 Apr 2020 17:57:29 -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:mime-version :content-transfer-encoding; bh=ccy1jjILQnb4SyzwgXs+NpIDf+rSPtsTikPdmNRn10M=; b=rULHcaPyxwX1mRnQ0wR03lOGtk6wXDyJ/Taw01o3jH+wIGTWz2oSpPulk1jPgm/hJ2 EgE8FaPDQ0iCzizg2ECo2u+8U50oNfIMID0dhAI7NUecLjfxu86ZB2CWFTuGQozodjHI Fj08VevoKWV5BNn3W4dEQdHawIVODFtF7OLPAleGv/Dy6r6okDLLJPR8mfnv0qbXwZL2 8Iuv13yGZLsK9ZzFrCu/g62WOYdMda/H+ieputYolBW/+uYH7dTw9AkKBK78v+7T/qO7 pVKjIcJLH2UL8KUY+G8lZvKA4frr2VoIbiAGPSQN7qTUYMUZ0PD6icEV9Kp1wirlePzk gu/A== 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:mime-version :content-transfer-encoding; bh=ccy1jjILQnb4SyzwgXs+NpIDf+rSPtsTikPdmNRn10M=; b=AxNdjpo14dJyCwqrD8YUxBTlbFT5ZBq0H3Run9yek3WFj9NFl78RkMvasmkxO+vuB0 a8APtfd3iKT+m1GHiJdtwI/jCEWagzVzqtvEe1SiXAQFcDIoKkqKSRTds1xqhLBmQnjs xnX26p9k+pzsnQiiignpdwnIo7Y174P5N2tquGBQE9Vm3oFvbSHf2r2Az91mnQn19Ne0 uH84HRE16o9kTngIW+kXo57XxwUvdHm4zIS37z+Gj7rAG/GwMUr7CmvPBQuhlUSqng2R DFs2LG207zNlkuSOFMVBZFai4uVD/0sxswew0EkqZ1pUCUKwtrkvYZeJZDct8DBxeq7N 2Zyw== X-Gm-Message-State: AGi0PuaPNK5cjCEnHldo9+lFBQDSkJLoijJPvg93wyMYFfAwMKgV206y A20fVRX3QCAcaYPYdC8XB/qBWujU X-Google-Smtp-Source: APiQypLI4TY2pj/z0K97REC6KmAzgotHikuhEZLZg7g7h0kpzUXhYQ3Ykft8e7vKwZ2qr+6MRnQcKA== X-Received: by 2002:a1c:1d4b:: with SMTP id d72mr5679448wmd.19.1587171448933; Fri, 17 Apr 2020 17:57:28 -0700 (PDT) Received: from sblaptop.fritz.box (ipbcc1ab57.dynamic.kabel-deutschland.de. [188.193.171.87]) by smtp.gmail.com with ESMTPSA id g186sm9778067wme.7.2020.04.17.17.57.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Apr 2020 17:57:28 -0700 (PDT) From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Sat, 18 Apr 2020 02:57:21 +0200 Message-Id: <20200418005721.31951-1-andreas.rheinhardt@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] avcodec/truehd_core_bsf: Remove unused AVClass pointer 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: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" The context structure of the truehd_core bsf had a pointer to a const AVClass as its first member; yet this bsf does not have any AVClass associated with it, so that this pointer is always NULL. So remove it. Signed-off-by: Andreas Rheinhardt --- libavcodec/truehd_core_bsf.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/truehd_core_bsf.c b/libavcodec/truehd_core_bsf.c index dbd05b34ca..dfe291d9e9 100644 --- a/libavcodec/truehd_core_bsf.c +++ b/libavcodec/truehd_core_bsf.c @@ -31,8 +31,6 @@ typedef struct AccessUnit { } AccessUnit; typedef struct TrueHDCoreContext { - const AVClass *class; - MLPHeaderInfo hdr; } TrueHDCoreContext;