[FFmpeg-devel] [PATCH] Make av_open_input_file() return AVERROR_NOTSUPP rather than AV_NOFMT if the format is unknown / cannot be recognized.

Michael Niedermayer michaelni
Wed Mar 17 15:51:57 CET 2010


On Wed, Mar 17, 2010 at 12:58:17AM +0100, Stefano Sabatini wrote:
> Hi, $subj.
> -- 
> FFmpeg = Free & Foolish Mastering Peaceful Embarassing Genius

>  utils.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 88370bd8e6975ccca60dd9b8f0c4d3ecb716c23a  0010-Make-av_open_input_file-return-AVERROR_NOTSUPP-rathe.patch
> >From 62564d9e6a5ec8be552cc94de6e50662c85bb7ff Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> Date: Wed, 17 Mar 2010 00:36:45 +0100
> Subject: [PATCH 10/15] Make av_open_input_file() return AVERROR_NOTSUPP rather than AV_NOFMT
>  if the format is unknonw / cannot be recognized.
> 
> That was the only use of AVERROR_NOFMT, which is going to be dropped.

rejected
with this the semantics are really wrong
not supported implicates supportable, random undetected data is not
neccesarily supportable

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

Incandescent light bulbs waste a lot of energy as heat so the EU forbids them.
Their replacement, compact fluorescent lamps, much more expensive, dont fit in
many old lamps, flicker, contain toxic mercury, produce a fraction of the light
that is claimed and in a unnatural spectrum rendering colors different than
in natural light. Ah and we now need to turn the heaters up more in winter to
compensate the lower wasted heat. Who wins? Not the environment, thats for sure
-------------- 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/20100317/68cb32aa/attachment.pgp>



More information about the ffmpeg-devel mailing list