Fix live555 compilation when stream cache is disabled.

based on patch by Gianluigi Tiesi, mplayer netfarm it


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22558 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2007-03-13 23:35:00 +00:00
parent 6fb78bac11
commit 43cbd97f17
1 changed files with 2 additions and 0 deletions

View File

@ -119,6 +119,8 @@ int cache_stream_fill_buffer(stream_t *s);
int cache_stream_seek_long(stream_t *s,off_t pos); int cache_stream_seek_long(stream_t *s,off_t pos);
#else #else
// no cache, define wrappers: // no cache, define wrappers:
int stream_fill_buffer(stream_t *s);
int stream_seek_long(stream_t *s,off_t pos);
#define cache_stream_fill_buffer(x) stream_fill_buffer(x) #define cache_stream_fill_buffer(x) stream_fill_buffer(x)
#define cache_stream_seek_long(x,y) stream_seek_long(x,y) #define cache_stream_seek_long(x,y) stream_seek_long(x,y)
#define stream_enable_cache(x,y,z,w) 1 #define stream_enable_cache(x,y,z,w) 1