[FFmpeg-devel] [PATCH] Drop AVERROR_ENOENT at the next libavutil major bump

Michael Niedermayer michaelni
Sat Mar 13 20:55:55 CET 2010


On Sat, Mar 13, 2010 at 08:50:43PM +0100, Stefano Sabatini wrote:
> Hi, as in subject,
> 
> BTW AVERROR(ENOENT) is improperly used in many case, for example when
> an option is not found in a context.
> 
> I suggest in that case to add a FFmpeg error code, for example:
> #define AVERROR_NOOPTIONFOUND  (-MKTAG('N', 'O', 'O', 'P'))
> 
> or something like that.
> 
> Regards.
> -- 
> FFmpeg = Foolish and Faithful Mystic Powered Exuberant Gorilla

>  error.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 372b8d053bc4e4fa5152181f6eef28049d25d86d  0003-Mark-AVERROR_ENOENT-for-deletion-at-the-next-libavut.patch
> >From f41fd9e1842d9a609fbcaba6aec5ffa36b1111db Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> Date: Sat, 13 Mar 2010 20:46:36 +0100
> Subject: [PATCH 3/3] Mark AVERROR_ENOENT for deletion at the next libavutil major bump.
> 
> The symbol is currently unused, AVERROR(ENOENT) must be used instead.

ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 1
"Used only once"    - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100313/8dcbdac7/attachment.pgp>



More information about the ffmpeg-devel mailing list