hello, maybe we need the following patch to make ffserver work properly with
some system.

without this, I always give me the " Address family not supported by
protocol" error

--- ffserver.c.orig    2011-10-13 16:55:41.000000000 +0800
+++ ffserver.c    2011-10-13 16:56:18.000000000 +0800
@@ -518,6 +518,7 @@
     tmp = 1;
     setsockopt(server_fd, SOL_SOCKET, SO_REUSEADDR, &tmp, sizeof(tmp));

+    my_addr->sin_family = AF_INET;
     if (bind (server_fd, (struct sockaddr *) my_addr, sizeof (*my_addr)) <
0) {
         char bindmsg[32];
         snprintf(bindmsg, sizeof(bindmsg), "bind(port %d)",
ntohs(my_addr->sin_port));


Best Regards
_______________________________________________
ffserver-user mailing list
ffserver-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffserver-user

Reply via email to