summaryrefslogtreecommitdiffstats
path: root/libmpdemux/stream.h
diff options
context:
space:
mode:
authorpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-25 11:20:58 +0000
committerpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-25 11:20:58 +0000
commit5eef65aa85c53f3be57a2031e13af4179f0d6fcc (patch)
treeece4255caa2854bb3556eda8959170d564aa9c26 /libmpdemux/stream.h
parentfaded2ccdbdc7c3e2c90368edc74576d75efd944 (diff)
downloadmpv-5eef65aa85c53f3be57a2031e13af4179f0d6fcc.tar.bz2
mpv-5eef65aa85c53f3be57a2031e13af4179f0d6fcc.tar.xz
missing #include's
Note: stream.h contains static inline functions, which is not quite clean :/ git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3727 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/stream.h')
-rw-r--r--libmpdemux/stream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/stream.h b/libmpdemux/stream.h
index 184444971b..f6734561cf 100644
--- a/libmpdemux/stream.h
+++ b/libmpdemux/stream.h
@@ -53,6 +53,8 @@ void stream_enable_cache(stream_t *stream,int size,int min,int prefill);
int cache_stream_fill_buffer(stream_t *s);
int cache_stream_seek_long(stream_t *s,off_t pos);
+#include <string.h>
+
inline static int stream_read_char(stream_t *s){
return (s->buf_pos<s->buf_len)?s->buffer[s->buf_pos++]:
(cache_stream_fill_buffer(s)?s->buffer[s->buf_pos++]:-256);