On 05/08/13 18:47, Martin Storsjö wrote: > --- > libavformat/unix.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/unix.c b/libavformat/unix.c > index 09f3d68..95552a9 100644 > --- a/libavformat/unix.c > +++ b/libavformat/unix.c > @@ -93,7 +93,7 @@ static int unix_open(URLContext *h, const char *filename, > int flags) > return 0; > > fail: > - if (s->listen && ret != EADDRINUSE) > + if (s->listen && AVUNERROR(ret) != EADDRINUSE) > unlink(s->addr.sun_path); > if (fd >= 0) > closesocket(fd);
You are obviously right. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
