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

Stefano Sabatini stefano.sabatini-lala
Sun Mar 21 17:33:23 CET 2010


On date Sunday 2010-03-21 16:06:40 +0100, Michael Niedermayer encoded:
> On Sat, Mar 20, 2010 at 12:50:35AM +0100, Stefano Sabatini wrote:
[...]
> >  utils.c |    2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > d1103b3432d30ce4b6320b922654b84524a436ed  0007-Make-av_open_input_file-return-AVERROR_INVALIDDATA-r.patch
> > >From 53b6d5e662c03b28bf5f8fc6cf732e0d8f1bc157 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 07/12] Make av_open_input_file() return AVERROR_INVALIDDATA rather than
> >  AV_NOFMT if the format is unknown / cannot be recognized.
> > 
> > It is returned AVERROR_INVALIDDATA, in the sense that the data is
> > invalid within what the specific libav* binary supports.
> > 
> > That was the only use of AVERROR_NOFMT, which is going to be dropped.
> 
> ok

Applied.
-- 
FFmpeg = Fantastic and Free Meaningful Proud Earthshaking Gorilla



More information about the ffmpeg-devel mailing list