Message ID | D41CE2FHWS0W.326VFUGYLUT2F@gmail.com |
---|---|
State | New |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a59:9c4f:0:b0:48e:c0f8:d0de with SMTP id w15csp1366667vqu; Sun, 8 Sep 2024 18:29:09 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWeRTY/jrKlCvRjyLnghqIgM0zQ2yipFrtszrc+dlQlsKaKkTK03NDMpXht7SXpI1LvpagCiRn3rUWzle4l+zPt@gmail.com X-Google-Smtp-Source: AGHT+IH8yv6GIqHDKa2SvtvoVhN3BwHe9vgn+nlVKD+ncdWAchK2IHhUDXmJElibrlDYnuuDLdbQ X-Received: by 2002:a17:907:2d92:b0:a86:8b7b:7880 with SMTP id a640c23a62f3a-a8d2494c0e0mr370252866b.63.1725845348950; Sun, 08 Sep 2024 18:29:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725845348; cv=none; d=google.com; s=arc-20240605; b=F4NpiGo/B7B7L58oBZRg7N6gF4467g9mnzYcHb+xxYFE8ZyRKsXFvhJAfHggc9mdG2 IBQrBk0qDk40eJKmGeyS4bh21nmKrVOO+ZJUOjeNk/oXfaOsCTvOax4HcaF4vuVxTm8d aU0r1w7MQBXQTcNZtxMiqumPiJ0YzpNrEonYJbu7q5jtl3IjuWPHIBV9+4XNJHRN00iD +Uy0Q0QkWAqHi/yml99rrbtHrbaTIxxO6fHw+1nsEtgUpSU+pTS9+UI9ToyXVE2cTtmi ORNvkWbP3EMiQTq3QLI5I4bZyntFjyvct+cJsQxI8kCpeutPnUHEF34tz4Cs7ZH99qd5 /aZw== 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=ayVObKCPEGdu1+6ZxL3AGGnlp/qqU7gZ27LwQqcy3Ps=; fh=5IeVwzS1vbVKjIV8MP3mnmnRtZGb8uteQ9r4QD2keV0=; b=DFO2IA+eBFADDhMqOvO0De6HehMgDpy1iDGTQEfArLCzJOSaXoeCn/h7MJwTlqqEoT 8YAPu+g8GUzuP5jxl1W6gN6MDCv129eXSYQdHBknbwkrXNnjQAaL4YBBzdDsQJteu1xs DWeTjpPRz1U8W8V1pVkkCGWGzJ4alo6ookDMy65Jp7pV8il1hs52jgq7GuV4nyQdiERB xSzugIFi8NibBLJ/Pe9kwrVkvNSq4BirjAywq1KlJKrFRcv9sD3/gjsAIugWb5KWb4Zv 3woNwOZuL1wgRZgu6X7YJu1myjgdev5zcUbU854Mcu+xDCFc4qkY5tOMV7GHeKFu3DgB wkMQ==; 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=G+jxFJUQ; 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: <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 a640c23a62f3a-a8d25cf94d3si293762666b.621.2024.09.08.18.29.08; Sun, 08 Sep 2024 18:29:08 -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=G+jxFJUQ; 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 6099868DD03; Mon, 9 Sep 2024 03:55:38 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7247968DBDA for <ffmpeg-devel@ffmpeg.org>; Mon, 9 Sep 2024 03:55:23 +0300 (EEST) Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-42cb1758e41so11466605e9.1 for <ffmpeg-devel@ffmpeg.org>; Sun, 08 Sep 2024 17:55:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725843323; x=1726448123; darn=ffmpeg.org; h=subject:date:from:to:message-id:in-reply-to:from:to:cc:subject:date :message-id:reply-to; bh=MHUqvJ52xpzRpRN09RtdN5AxFgp6DSopvH3xBP6Gvk4=; b=G+jxFJUQOxwn/xaMchxqh959+a/wplHrxRdTCWEZaCrZvAgnf79jJfGWF17zegDvvp diODHyXtZIxU0Vb+AnLoac0DeFFmwmKIOKiAFTVdXPnwuskHRlq3N+jAcj0Ocyp6degg pb5QAb9efHrafLh7m0LwchtnfV9H37aqjCL8/nnHSquO2TNDc6JfcBDdItJZdwi+4djE FpDUoWsLqpgfwcXvJ7GjVAJn4XaD2BRSCzFYBgrT/NT5AybYMXvnkb5GCu+VcKmw6lwY WiUCB7ZKeW+S1KfOXuZfNrUkBipAQwh9FO1HG3VnG7WTxJ8MiJORAHarBp/yKrfICwXT e9ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725843323; x=1726448123; h=subject:date:from:to:message-id:in-reply-to:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=MHUqvJ52xpzRpRN09RtdN5AxFgp6DSopvH3xBP6Gvk4=; b=oof6rGJR2eUBZTqgvUwVolphX4qlb4jsrHQU9Z69AHE2Rpuhs7JqEmIjilryZZ/RlZ 6pa96GCiq9Q+LfPXRAImtwvpKs7NqnytdyXIVxi2HhbXxFz6TBAb74Tk2akGL+K0FslD 06wmte6WMJ/Y5soK6Pfji3/S0RvL9epTUvKmp1qxQGMVX46U8cwWlyJvIPjsSXz9IBfs NbvihJ5FhPURRXcH/kJWcorpI/yDR1fg3fNXxcOlE1G6eko/ChBJ/PuMkfA/7RHefF9+ +mTflr2Oge/Ge5TFGCGILEpVTF5URTS9wA6EqjahV44lM64RNG42+1IMM0YYzx8GGGRl vWeg== X-Gm-Message-State: AOJu0YyRkLbTb//ftdemZLHI09klApu7PG5bJ2jb4p27vpAL77FJ11kQ 6E1zfCQZtC2rJzqKFdaIOI9wxa2nVKL3vBk05HVCXo1zSgUJOkZQ4gtfig== X-Received: by 2002:a05:600c:c8b:b0:42c:a7cc:cb6d with SMTP id 5b1f17b1804b1-42cae70a2a8mr40339985e9.1.1725843322775; Sun, 08 Sep 2024 17:55:22 -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.21 for <ffmpeg-devel@ffmpeg.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 08 Sep 2024 17:55:22 -0700 (PDT) In-Reply-To: <D41CE2FHUKJS.3JT42UG2S21VV@gmail.com> Message-Id: <D41CE2FHWS0W.326VFUGYLUT2F@gmail.com> To: <ffmpeg-devel@ffmpeg.org> From: "Marvin Scholz" <epirat07@gmail.com> Date: Sun, 8 Sep 2024 22:27:44 +0200 Subject: [FFmpeg-devel] [PATCH 23/60] fftools/ffmpeg_demux: narrow variable scope 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> MIME-Version: 1.0 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: UFHNMyXOd56y |
Series |
[FFmpeg-devel,01/60] fftools/ffmpeg_opt: fix variable shadowing
|
expand
|
Quoting Marvin Scholz (2024-09-08 22:27:44) > --- > fftools/ffmpeg_demux.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) Ok
diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c index 18938f1f12..0b639f2b60 100644 --- a/fftools/ffmpeg_demux.c +++ b/fftools/ffmpeg_demux.c @@ -1888,9 +1888,7 @@ int ifile_open(const OptionsContext *o, const char *filename, Scheduler *sch) return ret; for (int i = 0; i < o->dump_attachment.nb_opt; i++) { - int j; - - for (j = 0; j < f->nb_streams; j++) { + for (int j = 0; j < f->nb_streams; j++) { InputStream *ist = f->streams[j]; if (check_stream_specifier(ic, ist->st, o->dump_attachment.opt[i].specifier) == 1) {