summaryrefslogtreecommitdiffstats
path: root/stream/tcp.c
diff options
context:
space:
mode:
authoralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-09 00:36:28 +0000
committeralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-09 00:36:28 +0000
commitf481e7870b0fcb7fec1614efab4fc7baf380bf1c (patch)
treeb5cbdd1b187650efb3bea73bb69c862fdfae74ba /stream/tcp.c
parent64868a36cd8113336745f5baf336ae76553de9ab (diff)
downloadmpv-f481e7870b0fcb7fec1614efab4fc7baf380bf1c.tar.bz2
mpv-f481e7870b0fcb7fec1614efab4fc7baf380bf1c.tar.xz
Remove the need for code using stream to export an mp_input_check_interrupt()
function. It also removes the compile-time dependency on input. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26358 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/tcp.c')
-rw-r--r--stream/tcp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/stream/tcp.c b/stream/tcp.c
index 5759108ec7..769a8669d8 100644
--- a/stream/tcp.c
+++ b/stream/tcp.c
@@ -19,7 +19,6 @@
#include "mp_msg.h"
#include "help_mp.h"
-#include "input/input.h"
#ifndef HAVE_WINSOCK2
#include <netdb.h>
@@ -195,7 +194,7 @@ connect2Server_with_af(char *host, int port, int af,int verb) {
FD_SET( socket_server_fd, &set );
// When the connection will be made, we will have a writeable fd
while((ret = select(socket_server_fd+1, NULL, &set, NULL, &tv)) == 0) {
- if(count > 30 || mp_input_check_interrupt(500)) {
+ if(count > 30 || stream_check_interrupt(500)) {
if(count > 30)
mp_msg(MSGT_NETWORK,MSGL_ERR,MSGTR_MPDEMUX_NW_ConnTimeout);
else