summaryrefslogtreecommitdiffstats
path: root/libmpdemux/network.c
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-23 14:46:20 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-10-23 14:46:20 +0000
commitbf3c311ee84e177253c033b84144bbd367d42a86 (patch)
treeabf2d66dadaed48dd8d4bcc734c7a2b1c6e23a99 /libmpdemux/network.c
parentd782c21b5772e16807f12a4a48da6754d8c19907 (diff)
downloadmpv-bf3c311ee84e177253c033b84144bbd367d42a86.tar.bz2
mpv-bf3c311ee84e177253c033b84144bbd367d42a86.tar.xz
mpdemux.c|h moved to libinput, mpdemux_check_interrupt() -> mp_input_check_interrupt()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7863 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/network.c')
-rw-r--r--libmpdemux/network.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libmpdemux/network.c b/libmpdemux/network.c
index f101a96d91..522b25b6c1 100644
--- a/libmpdemux/network.c
+++ b/libmpdemux/network.c
@@ -19,7 +19,6 @@
#include "stream.h"
#include "demuxer.h"
#include "../cfgparser.h"
-#include "mpdemux.h"
#include "network.h"
#include "http.h"
@@ -34,6 +33,8 @@
extern int verbose;
extern m_config_t *mconfig;
+extern int mp_input_check_interrupt(int time);
+
/* Variables for the command line option -user, -passwd & -bandwidth */
char *network_username;
char *network_password;
@@ -193,7 +194,7 @@ connect2Server(char *host, int port) {
while((ret = select(socket_server_fd+1, NULL, &set, NULL, &tv)) == 0) {
if( ret<0 ) mp_msg(MSGT_NETWORK,MSGL_ERR,"select failed\n");
else if(ret > 0) break;
- else if(count > 30 || mpdemux_check_interrupt(500)) {
+ else if(count > 30 || mp_input_check_interrupt(500)) {
if(count > 30)
mp_msg(MSGT_NETWORK,MSGL_ERR,"Connection timeout\n");
else