diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-23 14:46:20 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-23 14:46:20 +0000 |
commit | bf3c311ee84e177253c033b84144bbd367d42a86 (patch) | |
tree | abf2d66dadaed48dd8d4bcc734c7a2b1c6e23a99 /libmpdemux/cache2.c | |
parent | d782c21b5772e16807f12a4a48da6754d8c19907 (diff) | |
download | mpv-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.c | 3 |
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 |