[MPlayer-dev-eng] [PATCH] fix compile when stream cache is disabled
Gianluigi Tiesi
mplayer at netfarm.it
Tue Mar 6 08:26:32 CET 2007
On mingw stream cache is always disabled,
and g++ doesn't like undefined functions.
Patch attached.
Regards
--
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/
-------------- next part --------------
diff -NuBr -x.svn -xhelp_mp.h -xlibdha -x'*.so' -x'*.log' -x'*.a' -x'*.exe' -x'*.o' -xconfigure.log -xconfig.mak -x.cvsignore -xconfig.h -xcodecs.conf.h -xversion.h -x.depend main/stream/stream.h sherpya/stream/stream.h
--- main/stream/stream.h 2006-12-19 04:03:06.642481600 +0100
+++ sherpya/stream/stream.h 2007-03-06 06:43:22.803419200 +0100
@@ -119,6 +119,8 @@
int cache_stream_seek_long(stream_t *s,off_t pos);
#else
// no cache, define wrappers:
+extern int stream_fill_buffer(stream_t *s);
+extern 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
More information about the MPlayer-dev-eng
mailing list