OSDN Git Service

import 0.9.3
[handbrake-jp/handbrake-jp.git] / contrib / patch-ffmpeg.patch
1 Index: libavformat/tcp.c
2 ===================================================================
3 --- libavformat/tcp.c   (revision 9814)
4 +++ libavformat/tcp.c   (working copy)
5 @@ -88,11 +88,13 @@
6                  break;
7          }
8  
9 +#ifndef __BEOS__
10          /* test error */
11          optlen = sizeof(ret);
12          getsockopt (fd, SOL_SOCKET, SO_ERROR, &ret, &optlen);
13          if (ret != 0)
14              goto fail;
15 +#endif
16      }
17      s->fd = fd;
18      return 0;