[FFmpeg-devel] [RFC] The meaning of AVERROR_NOTSUPP

Stefano Sabatini stefano.sabatini-lala
Sat Apr 24 11:41:30 CEST 2010


On date Thursday 2010-04-22 17:42:52 -0700, Howard Chu encoded:
> Stefano Sabatini wrote:
> >On date Thursday 2010-04-22 09:37:14 +0200, Michael Niedermayer encoded:
[...]
> >>>  error.c |    1 -
> >>>  error.h |    2 +-
> >>>  2 files changed, 1 insertion(+), 2 deletions(-)
> >>>a8e541223573b93b115ed0187b4a1e89423cc709  0003-Drop-AVERROR_NOTSUPP-at-the-next-major-bump-use-AVER.patch
> >>>> From 2d584bc35ed9cb9e737181b0adf3edc6db6634f1 Mon Sep 17 00:00:00 2001
> >>>From: Stefano Sabatini<stefano.sabatini-lala at poste.it>
> >>>Date: Fri, 2 Apr 2010 15:11:03 +0200
> >>>Subject: [PATCH 3/4] Drop AVERROR_NOTSUPP at the next major bump, use AVERROR(ENOSYS)
> >>>  instead which is semantically equivalent.
> >>>
> >>>---
> >>>  libavutil/error.c |    1 -
> >>>  libavutil/error.h |    2 +-
> >>>  2 files changed, 1 insertions(+), 2 deletions(-)
> >>
> >>if people prefer it that way iam ok with it
> >
> >So people please speak for or against this. AVERROR_NOTSUPP is
> >currently never used and from the past discussion seems we have to use
> >AVERROR(ENOSYS) instead, so it looks to me only a source of confusion.
> 
> Anything that cuts down on confusion must be a good thing...

I'll apply in three days, unless objections will raise against.

Regards.
-- 
FFmpeg = Fundamentalist Faithless Mere Picky Enlightening God



More information about the ffmpeg-devel mailing list