mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 08:12:17 +00:00
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:
parent
6fb78bac11
commit
43cbd97f17
@ -119,6 +119,8 @@ int cache_stream_fill_buffer(stream_t *s);
|
||||
int cache_stream_seek_long(stream_t *s,off_t pos);
|
||||
#else
|
||||
// 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_seek_long(x,y) stream_seek_long(x,y)
|
||||
#define stream_enable_cache(x,y,z,w) 1
|
||||
|
Loading…
Reference in New Issue
Block a user