From patchwork Sun Sep 8 20:20:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Scholz X-Patchwork-Id: 51432 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a59:9c4f:0:b0:48e:c0f8:d0de with SMTP id w15csp1396438vqu; Sun, 8 Sep 2024 20:24:10 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUwhVloqnndtcnp5ZwIB6p8JtAEpzTJg+ftAfA4hAn/yJW3VTH1+LFNKBrs92H1VNTBdi1AiRr1pmKUR8RTD79O@gmail.com X-Google-Smtp-Source: AGHT+IGPMdrBbLHtK+nm5zkrF5S61Kp8hIXwScWAD86QPSt/3uIuhVf5J/pok1ZiJfSquyqZiUO/ X-Received: by 2002:a17:907:9621:b0:a72:499a:e5ba with SMTP id a640c23a62f3a-a8a888da9b5mr269109866b.7.1725852249928; Sun, 08 Sep 2024 20:24:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725852249; cv=none; d=google.com; s=arc-20240605; b=kKQ6tMOJhlxXEufvZjXZWFaC6XruyhZIJGretF3h2z9Uve/Aj5zBggmDPV4VsbDtsl oBoOs4eSmNZn771M6uacU/gHT+fNVvA30T0ILkotyyYPNf3OMkv87G6ym6mraKVeBer2 YXtiXMh1WGPhsGJbJQRqIyfBD5UrYzq5z+H78juGUNpn0Wyu0g8h2N3JM/RGuBCV+J9M GjG+iFSIofmZOyBDZUgrXCb0LZT/djLfncO7GYxCc4A2NfAk0tbZUItF6UTcIgqQJ9Oy GTJcx1971iyce115BM0YWcfJOPc7eXKzP6z9sPEPyhKE9jr7nyv1Rh/JTSaWfaHHZDHC HXoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:content-transfer-encoding:mime-version:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:date:from:to:message-id:in-reply-to :dkim-signature:delivered-to; bh=lCWBFRT7K1scU9prFkHtd9o2FZGqDr2kNxBZTWQw1YU=; fh=5IeVwzS1vbVKjIV8MP3mnmnRtZGb8uteQ9r4QD2keV0=; b=alEUjiwCXKhMQw80I6hZwobA69DqeJlqdz2sZqWj+j1tQj3nIw0GzSHY6rfoAg8Wst FzW5U7MOGCL3M++cUm+XB1SXPE7QJiEEjJmIyVVGsJZ0PJcVMTEdW/sFinG3g6Istge4 n/Kecx07TmVut+g+3S1YT71/m7yfXgHpdFiBKrkQu8qcVUWVAZUNSLRn9sqvKwblTCFt F98FmbI+Ac/TnhCQLJY8u5DNw6Y7WAD9qTFvGJL9UAj734zSBECKPTwPIKaCGpklRafP iP1afCBUVzcPHAHHsZnglBYLwbMV2kx2+Linhrbc+p+i65VUOmsfY37T//gy3s+DdslJ PpWw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20230601 header.b=GZvvs6aF; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=fail header.i=@gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id a640c23a62f3a-a8d25ce9ef4si315899066b.658.2024.09.08.20.24.09; Sun, 08 Sep 2024 20:24:09 -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; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20230601 header.b=GZvvs6aF; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=fail header.i=@gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9CEFB68DC5E; Mon, 9 Sep 2024 03:55:33 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C961568DBB0 for ; Mon, 9 Sep 2024 03:55:20 +0300 (EEST) Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-42cb0f28bfbso12100775e9.1 for ; Sun, 08 Sep 2024 17:55:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725843320; x=1726448120; darn=ffmpeg.org; h=subject:date:from:to:message-id:in-reply-to:from:to:cc:subject:date :message-id:reply-to; bh=LWMZiioVi0F133wOuQ80/E546MOImzvfFGzXlpERpW4=; b=GZvvs6aFsQobufYSnGf0mW60udqHS21RQ9iA6o4ZGIY07yAjKK5LEH13bwe653KY2p 6nlEKwNy5COza3eucXbOujM9bkjBk8qArxHLe9gD3xAA5+pHaS/VeCQ4vNRvyuJULg6q wSCPeNKco2Y8TL/XWZspaPBJqcEZJkE1H1TylCaA7kOsNa5EcbyXC0m48eShGHenol+7 c351vQ0S/0f+TOGAlV5oqf9ZJtn0rZrK0cSBvJnvaAICZsTVmz276QvpjUBeScUV1R1d 3cOE+KT7TijOJT/v3o5KjZ0grO74QO2q56Rw+4Q+lTa+y/w9i4JVfoMxFP+lfa2eQAh5 +Kng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725843320; x=1726448120; h=subject:date:from:to:message-id:in-reply-to:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=LWMZiioVi0F133wOuQ80/E546MOImzvfFGzXlpERpW4=; b=XZlZI9eVG/zoxe5JSdaKW/WfLK3XnQ5oyGWQ6i4JYR8Gx7TWxnqzeuwWdFXwOG0kPM qo/65ZAV8dE0bV/NmiTdEVJjIKCm1v06ljIgFgob7QeFArIpHI2ts9T4ZgzcpGc+ys+b cBFDwESn1ChJ9S3CSzC5lPgiqMvfewTy1814cqRALnPnyP3WcwHDQucL+vY1f/ylxgYM RL8d62BRLutrJXNES/b0te/Yn04dzWDOdwtBdyf3nNE5z068tRVk0AFB6hsjQzsPy1J3 /fKFSmi97QgGgYYLEHjab5ys0c+QVwThBmraRwnAXz9x9d6NVAM3c1m8Iid4Vy8OQtRd GfRA== X-Gm-Message-State: AOJu0YxEsStgLht5+oUppSwEcFqbN33V0nQtN1Y+8yMdZNf9rP2teh0b 40msAOqWAnYg6zuYBV6Gn5zKmBEkJmXwwLZFNA7PXNlOiqphCqox99zYAA== X-Received: by 2002:a05:600c:45d1:b0:428:f79:1836 with SMTP id 5b1f17b1804b1-42c9f9d7338mr72827495e9.26.1725843319968; Sun, 08 Sep 2024 17:55:19 -0700 (PDT) Received: from localhost (p200300cccf1178009d94fda8472792f7.dip0.t-ipconnect.de. [2003:cc:cf11:7800:9d94:fda8:4727:92f7]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37895649728sm4583399f8f.16.2024.09.08.17.55.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 08 Sep 2024 17:55:19 -0700 (PDT) In-Reply-To: Message-Id: To: From: "Marvin Scholz" Date: Sun, 8 Sep 2024 22:20:42 +0200 Subject: [FFmpeg-devel] [PATCH 20/60] fftools/ffmpeg_mux_init: remove unused variable 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 MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: qTiRXWu1xrkd This dict is declared and freed but nothing is ever written to it. --- fftools/ffmpeg_mux_init.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c index 37d626add6..8d475f5b45 100644 --- a/fftools/ffmpeg_mux_init.c +++ b/fftools/ffmpeg_mux_init.c @@ -915,7 +915,6 @@ static int streamcopy_init(const Muxer *mux, OutputStream *ost, AVDictionary **e uint32_t codec_tag = par->codec_tag; AVCodecContext *codec_ctx = NULL; - AVDictionary *codec_opts = NULL; AVRational fr = ost->frame_rate; @@ -1019,7 +1018,6 @@ static int streamcopy_init(const Muxer *mux, OutputStream *ost, AVDictionary **e fail: avcodec_free_context(&codec_ctx); - av_dict_free(&codec_opts); return ret; }