[FFmpeg-devel] [PATCH 1/2] Make av_strerror() print the string of "Error number %d occurred" if strerror_r() did not succeed, for example because the error code is not known.

Stefano Sabatini stefano.sabatini-lala
Sat May 1 13:53:24 CEST 2010


On date Saturday 2010-05-01 10:54:27 +0200, Michael Niedermayer encoded:
> On Sat, May 01, 2010 at 10:28:33AM +0200, Stefano Sabatini wrote:
> > This avoids the need for the application to fill the string in case
> > strerror_r() fails to do it for whatever reason.
> 
> this returns -1 (failure) with your patch

Yes, fixed.

Regards.
-- 
FFmpeg = Faithful & Frenzy Meaningless Peaceful Ecletic Gorilla



More information about the ffmpeg-devel mailing list