[Ffmpeg-devel] HTTP probing issue... [PATCH]

François Revol revol
Wed Feb 28 23:10:52 CET 2007


> It's really not about the effort, if people agree to drop AVERROR_*,  

As an historical note, IIRC they appeared as an attempt to fix 
dangerous error practice (returning -EFOO which breaks in BeOS because 
posix errors are already negative) but never got used everywhere 
anyway.
And I recently fixed all that in a better way with AV[UN]ERROR() which 
ensures on every platform to return a negative error and to be able to 
get the correct error value back.

So to everyone submitting patches please always 
    return AVERROR(some posix error or errno itself);

Fran?ois.





More information about the ffmpeg-devel mailing list