[Ffmpeg-devel] BeOS cleanup work in progress

François Revol revol
Thu Jan 25 09:54:50 CET 2007


> On Wed, 24 Jan 2007 18:05:51 +0100 CET
> "Fran?ois Revol" <revol at free.fr> wrote:
> 
> > > > So many return -EFOO...
> > > > there are also 5 of them in libavcodec, but we don't have 
> > > > AVERROR_*
> > > > there, should I just return -1 or move them here ?
> > > 
> > > id say move
> > 
> > Moved the defs to avcodec.h
> 
> I have the feeling that they should be moved to avutil.h instead.
> IMO, there's no reason to add one more dependency to lavc in lavf.

As I said I don't care where they are as long as consistent and 
reasonable errors are returned, not -ESOMETHING.
Either I'll switch them to -1 or move AVERROR_ to avcodec.

Fran?ois.





More information about the ffmpeg-devel mailing list