[FFmpeg-devel] [PATCH] Drop AVERROR_ENOENT at the next libavutil major bump
Stefano Sabatini
stefano.sabatini-lala
Sun Mar 14 02:36:00 CET 2010
On date Saturday 2010-03-13 20:55:55 +0100, Michael Niedermayer encoded:
> 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
Applied.
--
FFmpeg = Fantastic and Freak Mystic Prodigious Elitist Geisha
More information about the ffmpeg-devel
mailing list