From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id EB1624A02D for ; Wed, 17 Jul 2024 06:25:56 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7E51B68DA25; Wed, 17 Jul 2024 09:25:53 +0300 (EEST) Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1775D68DA15 for ; Wed, 17 Jul 2024 09:25:47 +0300 (EEST) Authentication-Results: mail0.khirnov.net; dkim=pass (2048-bit key; unprotected) header.d=khirnov.net header.i=@khirnov.net header.a=rsa-sha256 header.s=mail header.b=VZbRV6nY; dkim-atps=neutral Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id B95BB240DB7 for ; Wed, 17 Jul 2024 08:25:46 +0200 (CEST) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavis, port 10024) with ESMTP id 1klYJBELqUkQ for ; Wed, 17 Jul 2024 08:25:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=khirnov.net; s=mail; t=1721197546; bh=K294+5KX2uV1kGbsswWlN/4luwU1+mRandiCMuxs5wA=; h=Subject:From:To:In-Reply-To:References:Date:From; b=VZbRV6nYP0+4C1X2wIiXrqIC+7VpoLCRGT/aXdhSWbcQ74/crPpZqk+bw6zgXl6NX tbdBIcSil8Q5dDSW7B502t/mXzdJ7Y5oki0Y/8vzRm1TJkQJdxIhp10hzayjJG/+nO 4TL2ejDcHC9y96oZVbx+WlE9aezfcqY4A7EIsNoHCUei2zZHxuH75Ac4nyeywtB60d uM33CdavwTeoRJCjYU5aRzINJp2FM0Tau8Fmv2p/1yh8aA6R8ERYiMLMzItJ1C/XQT JQ/y3kYE/XTSF2gc/p+uR1W6UfrDWu/jCneBluF1Rz5dT/ZMDVGhtcOFXFPj9Ck+rY XDjsuid0knELQ== Received: from lain.khirnov.net (lain.khirnov.net [IPv6:2001:67c:1138:4306::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "lain.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id 030AB240695 for ; Wed, 17 Jul 2024 08:25:46 +0200 (CEST) Received: by lain.khirnov.net (Postfix, from userid 1000) id D7D641601B9; Wed, 17 Jul 2024 08:25:45 +0200 (CEST) From: Anton Khirnov To: FFmpeg development discussions and patches In-Reply-To: <9e16396a-4ef2-fdb3-fce8-94e19a141473@passwd.hu> References: <20240715151319.2322241-1-ffmpeg-devel@pileofstuff.org> <14f41f0c-d2b0-3bd4-06ef-bfbac84274a9@passwd.hu> <9e16396a-4ef2-fdb3-fce8-94e19a141473@passwd.hu> Mail-Followup-To: FFmpeg development discussions and patches Date: Wed, 17 Jul 2024 08:25:45 +0200 Message-ID: <172119754586.21847.9183040757105761740@lain.khirnov.net> User-Agent: alot/0.8.1 MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH] avutil/error: Provide better feedback about unknown error codes 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: Quoting Marton Balint (2024-07-16 01:01:20) > I don't really like adding extra code for this, and from an API point of > view any negative error code can be valid, so you can't really warn about > them. > > If you want to make sure that every ffmpeg error code has a text, then add > a fate test for checking it. > > [...] > > FFERROR_REDO is an avformat internal error code, av_strerror() being in > avutil cannot properly support it. +1 -- Anton Khirnov _______________________________________________ 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".