Commit Graph

14 Commits

Author SHA1 Message Date
diego 84fa3d69f3 Add missing stream.h #include, fixes the warning:
stream/tcp.c:197: warning: implicit declaration of function 'stream_check_interrupt'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26783 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-15 16:11:50 +00:00
albeu f481e7870b 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
2008-04-09 00:36:28 +00:00
zuxy 242c5fc73c Make functions static if they aren't referenced externally.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24869 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-27 17:46:09 +00:00
reimar 946272e8b4 (Re)move idiotic checks, ret can't be < 0 or > 0 if the loop condition
is that it is == 0!


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24579 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-19 13:01:08 +00:00
reimar 79918649e2 Fix a few typos
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24578 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-19 12:54:10 +00:00
ivo 2477fdf577 winsocks expects an int in milliseconds instead of struct timeval to set
the timeout of a socket

patch by Zuxy Meng, zuxy dot meng ... gmailcom



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22397 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-01 14:57:44 +00:00
rathann 45defa1aa0 Fix a few gcc warnings, approved by Diego and Reimar.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22160 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-05 23:46:08 +00:00
reimar f58e52ba6e Use defined() syntax instead without ().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22132 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-04 16:08:29 +00:00
rtogni 288f3e1a13 Add timeout to tcp connections, avoid hanging forever.
Based on patch for bugzilla #673


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22131 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-04 14:18:56 +00:00
reimar de6d02c2d2 Cosmetics: recommit patch changing return values to defines
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19549 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-26 19:35:55 +00:00
reimar b5754c6044 Recreate tcp.c as partial copy from network.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19548 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-26 19:23:14 +00:00
reimar 69acfaa74b remove to allow readding as copy from network.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19547 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-26 19:20:24 +00:00
rfelker c2035b4e2e missing header for struct timeval
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19470 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-20 23:19:18 +00:00
ben d7b460956a isolated tcp socket code from network.c to a dedicated file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19341 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-05 10:30:06 +00:00