summaryrefslogtreecommitdiffstats
path: root/libmpdemux/cache2.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/cache2.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/cache2.c')
-rw-r--r--libmpdemux/cache2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpdemux/cache2.c b/libmpdemux/cache2.c
index 7d42281a13..d2db6afe6c 100644
--- a/libmpdemux/cache2.c
+++ b/libmpdemux/cache2.c
@@ -26,6 +26,7 @@
int stream_fill_buffer(stream_t *s);
int stream_seek_long(stream_t *s,off_t pos);
+extern int mp_input_check_interrupt(int time);
typedef struct {
// constats:
@@ -221,7 +222,7 @@ int stream_enable_cache(stream_t *stream,int size,int min,int prefill){
s->max_filepos-s->read_filepos
);
if(s->eof) break; // file is smaller than prefill size
- if(mpdemux_check_interrupt(PREFILL_SLEEP_TIME))
+ if(mp_input_check_interrupt(PREFILL_SLEEP_TIME))
return 0;
}
return 1; // parent exits