summaryrefslogtreecommitdiffstats
path: root/stream/cache2.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-08-12 12:49:37 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-08-12 12:49:37 +0300
commit0d091760781466c3cb6a3426daecadf8a696fa88 (patch)
treee1f19671d2b3baf7b0f575e49182143cd9ccc5ab /stream/cache2.c
parent17d3e4b36d18f4a653f7c5f6ea2f15fcd3a2f069 (diff)
downloadmpv-0d091760781466c3cb6a3426daecadf8a696fa88.tar.bz2
mpv-0d091760781466c3cb6a3426daecadf8a696fa88.tar.xz
stream.h: Add 2 prototypes instead of declaring them in cache2.c
Declare stream_fill_buffer() and stream_seek_long() always (before they were only declared if cache was disabled and those were used instead of cached versions). Remove the now redundant declarations in cache2.c.
Diffstat (limited to 'stream/cache2.c')
-rw-r--r--stream/cache2.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/stream/cache2.c b/stream/cache2.c
index 366727302a..c90bf09e72 100644
--- a/stream/cache2.c
+++ b/stream/cache2.c
@@ -35,9 +35,6 @@ static void ThreadProc( void *s );
#include "stream.h"
extern int use_gui;
-int stream_fill_buffer(stream_t *s);
-int stream_seek_long(stream_t *s,off_t pos);
-
typedef struct {
// constats:
unsigned char *buffer; // base pointer of the alllocated buffer memory