From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 8CAE04D90F for ; Mon, 2 Jun 2025 17:08:32 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 55CAB68DEEB; Mon, 2 Jun 2025 20:08:28 +0300 (EEST) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 10B6868DB24 for ; Mon, 2 Jun 2025 20:08:21 +0300 (EEST) Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-3a4f71831abso3302390f8f.3 for ; Mon, 02 Jun 2025 10:08:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748884099; x=1749488899; darn=ffmpeg.org; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=ng63efbZs2uQ36Xw9XqqsVaqGZEBofyBVpnVi9q+Fbk=; b=Tw6FdpGiWjqN8Cfk6VrMF/O7z+fs8vWxvsu6D9lmfI0pIHT5JyOo+JpxIbXL4f//mS k+pqv7K6BjiorifRxJpveDW/ECoTKNrFADMK0anUAFVGA2tfvrpbobrSmem/41m0GPH8 D3OoQm/Rv3lsOCFuym+syVrJJND5HSzBB+bZ9Ut9wT5A2xoS9gZkBYBb5lO3ZN1dI/gN AlEn2eHeS0YAlh/18zCflvfHDCYLPzJ1sC9NVc2/RtU4zRtEvLMfWFUCCsh9AaePNlKZ FcwhN+z9YfFeegbdpTxfBCuno7vfkO18g2uYFSPgpPMFfVSILx9Gv8li6Q/mPGU+/7CB hggQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748884099; x=1749488899; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=ng63efbZs2uQ36Xw9XqqsVaqGZEBofyBVpnVi9q+Fbk=; b=GRQkjt5KUtwHRYF/pGQ7ur2bM65v3Wus168CN/ScHRQsSPVJsin/6tZllHuUnxJ398 Vw97R4TvVXJr7UcYPBniE69MSmr1cVd8iWdsmw90YXHyMRndJB3QmvRAq/Xw/mhzRYiu i1+/gbUJLfH3SSKXE2QbTS/JIVTXuQJdAd3PjLtvsu9U2STnPAJe5dwMNkSwRHxNIH8Z VCd4LvFUJ+pey3v7mJxey9eLtcsTcIgrN0S8NSB53+8jnXxpb6PMIH6ZfYI7eJtkgGsx jPsyMCH+ZnWRLYXwLb7ZINugwSvHnZRQ4Al9HQyaLRnFuJ+lKWZYeu/mOmg4yo3gVA57 x8OQ== X-Gm-Message-State: AOJu0YwXBxSysNKFjbBg+j7Trga/e3miwATWsAIAjCqmvJt1OU9d5uxy bh5IU2v1hyBWlYOf9BZRAf/br9ynh+pYjFMj5ns+15WNbbKfg4ph1/17U1X3wuTa X-Gm-Gg: ASbGnctXVU96QvZWit6hu495QhNCybMceIhsEt1ycjQqibSbsUunI2c5kUcfjVkFYgr xWB0mqX7rKVYP+kHyIQJTBeazHl4v+kZETX9ycJMWl81iKWyeJXV+L+dfFZFbHuX0wOnkcQbWJ5 GJCd0BCLW1iwY8Kxvk1CU28oSWZBYKTwpUWPOu5Wcc42Jw08/Fs17VUL1wawp3xO0CUtaJRsULc 0HzPl7oStbEoOtCE2rfKg8W2q2kJ8+NtCm6N9ZJ2Pv/1iBGmDos+hQOabEoBhvJ8t6FLIBXDwEo Jsf5Ly0FnAas+tjMnf7ujzUmxzmeG4qywbi2C9JfLuq5yhIFYlaG5lak6CnWiawAFurBlqfzm9F NT8HCJyA9bEpl5ustyg9Cgu8= X-Google-Smtp-Source: AGHT+IHuczHaUhob6d8HY54V8N+S1k/T/mA4AGdSjod3qpX8/BbSDBVLbaKrIDdobG+ahiQ/NCul9A== X-Received: by 2002:a05:6000:258a:b0:3a5:1240:6802 with SMTP id ffacd0b85a97d-3a512406824mr749209f8f.57.1748884099410; Mon, 02 Jun 2025 10:08:19 -0700 (PDT) Received: from [192.168.1.106] (33bf1e4c.skybroadband.com. [51.191.30.76]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-450d7fa21e4sm133423765e9.11.2025.06.02.10.08.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 02 Jun 2025 10:08:18 -0700 (PDT) Message-ID: Date: Mon, 2 Jun 2025 18:08:17 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-GB To: FFmpeg development discussions and patches From: Derek Buitenhuis Subject: [FFmpeg-devel] STF Idea: Check I/O calls in avformat (robustness) 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Hi, Dropping this grenade in here then unsubscribing. I see a lot of discussion on FEC, protocols, etc. for STF. But having those is almost pointless given avformat doesn't even check read and write calls in most places (even ignoring ensured seekbacks, buffer, etc.). A quick grep shows ~462 unchecked avio_r*, for example. What this means is that avformat itself is basically ununsuable in anything but perfect network conditions. Given STF is supposed to be used for useful stability and maitenence work, I propose a project to properly check I/O in avformat, so that any hiccup doesn't explode everything in unexpected ways. This exactly the sort of slog (boring, tedious, but extremely useful) that requires someone being paid to do to get done. Cheers, Grenade Boi UwU _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".