On Fri, 26 Jul 2013 15:46:11 +0200 Rémi Denis-Courmont <[email protected]> wrote:
> On Fri, 26 Jul 2013 15:33:10 +0200, wm4 <[email protected]> wrote: > > On Fri, 26 Jul 2013 11:36:47 +0200 > > Luca Barbato <[email protected]> wrote: > > > > What is _really_ ugly is that av_strerror needs a buffer, instead of > > returning a static string. > > If it calls the system strerror_r(), then it is unavoidable. Note, by the > way, that while it may be tempting to assume that strerror() returns static > strings, it does not. Notably on GNU/Linux, the implementation of > strerror() is not thread-safe; I have seen it crash on reentry. It's a bit strange that a libav error code can be a libc error code in the first place. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
