From patchwork Thu May 16 09:33:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Sayers X-Patchwork-Id: 35123 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a21:3a48:b0:1af:fc2d:ff5a with SMTP id zu8csp2115107pzb; Thu, 16 May 2024 02:34:19 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV46kVHyLFJXqDZb9B4FM8nzxPqapdbLnEN4LDh914+wef9cGgdb3WgQ0FKhzehmFM+35DfqwkU0Cf7GKs4f5LTZXX1XpdUl+4iMA== X-Google-Smtp-Source: AGHT+IHuXaPU0YRNe8fYpstvxfyTtFcujpQb9NxiYet4hbIzJ+zjHAVWs1jR6eEbosKcLFmiXfY3 X-Received: by 2002:a17:906:cb87:b0:a59:cb29:3fb8 with SMTP id a640c23a62f3a-a5a2d53bb9dmr1111727866b.1.1715852058977; Thu, 16 May 2024 02:34:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1715852058; cv=none; d=google.com; s=arc-20160816; b=W8jU1DVCjQDIRMO6PETNPu4PDbgZBoNXlZV/ExcsBNpt+1DD/T7TLOv4qtwX0E/ouU 92Ko+iewpBn7Zc0xmFk+bwXRgeWZD6JC2rnFWoALEIPBrLnv8mgGVe5slgVQqALi7mf9 dUGZcs+IVf4L30WTUnTJDcr+l3pz2Rzi9xdFF2IGmkstuKH/rnnjxf+AJU7nDU4Co3vl sv50JdskDguk1YuhcYADXUrhgHNga3Wx24apuQ3wgWPtx8/g7PGNJoSPEfPtGWtEvgOA tRUxZErAH4igxVffIc976ty7fbzCcBK1Kk1nV3+ZG0QbzfL/YIWQKGDnnoxyDOBTkPzM cd2w== 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=XfischvmNIg0+6Ia8Eg78K2Bu2kb+jlpVjQ7CsWlOoA=; fh=YOA8vD9MJZuwZ71F/05pj6KdCjf6jQRmzLS+CATXUQk=; b=NmrFQUDoRDNG7vY4eMlaNXFmg8p9pNn37dw8Fx7fr96hHtsawDm05qQNYgRE30w5Kb hwo7pGdNYAlcsT+UUegzf5vbNEqP2XBd5X55ZiIXADR17xNrQLhN4khL69F6MlDTOqSF C1jCKaUhjthGqV31v4vbCOLvGI9Ieq00Y9X83kE0ZZ7krOyM/0KLPdmBISzbblbp9mk0 2/julZfNmivvl6GpiNUmB/jgUub/glZ9MVqpCcjNgYb8vRjLPceo7Cn366+nWtQzN7Ho 6QCWvpNwDPe1ugBNe104r8z6r+L6/mlzBInBv1mAxdXnQ1mH8F7I5kXr4bpfUnCfqDTA 9OUA==; dara=google.com 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 a640c23a62f3a-a5a17ba389fsi838062666b.556.2024.05.16.02.34.18; Thu, 16 May 2024 02:34:18 -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; 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 DA4C368D51F; Thu, 16 May 2024 12:34:13 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from b-painless.mh.aa.net.uk (b-painless.mh.aa.net.uk [81.187.30.52]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6EB4F68D19B for ; Thu, 16 May 2024 12:34:06 +0300 (EEST) Received: from 0.b.4.b.7.4.0.8.c.4.a.5.d.8.b.2.0.5.8.0.9.1.8.0.0.b.8.0.1.0.0.2.ip6.arpa ([2001:8b0:819:850:2b8d:5a4c:8047:b4b0] helo=andrews-2024-laptop.lan) by painless-b.tch.aa.net.uk with esmtp (Exim 4.96) (envelope-from ) id 1s7XUz-002QR7-0C for ffmpeg-devel@ffmpeg.org; Thu, 16 May 2024 10:34:05 +0100 From: Andrew Sayers To: ffmpeg-devel@ffmpeg.org Date: Thu, 16 May 2024 10:33:33 +0100 Message-ID: <20240516093403.3763258-1-ffmpeg-devel@pileofstuff.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <94b3be81-0777-fbc1-8ba8-a39a8f6397d4@passwd.hu> References: <94b3be81-0777-fbc1-8ba8-a39a8f6397d4@passwd.hu> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v4 0/5] avformat/network: improve ff_neterrno() 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: DxY3V7jHbIes I've prepended two patches - one with just the documentation, the other with just the code. The latter was generated automatically with the command specified in the commit message, so e.g. rebase conflicts can be resolved by throwing away the old commit and rerunning the command. As discussed, this also fixes the assigns in if-statements.