From dc19e32d67d04703798755b403fe9e642783e29b Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 17 Nov 2009 18:08:18 +0000 Subject: Enable the read-based forward seek fallback also when CONFIG_NETWORK is enabled. Enabling network support should not have side-effects on code not really related to networking. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29926 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/stream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stream/stream.c') diff --git a/stream/stream.c b/stream/stream.c index 7fc7ca2315..4ee7f8b316 100644 --- a/stream/stream.c +++ b/stream/stream.c @@ -331,8 +331,9 @@ if(newpos==0 || newpos!=s->pos){ mp_msg(MSGT_STREAM,MSGL_INFO,"Stream not seekable!\n"); return 1; } + break; } -#else +#endif if(newpospos){ mp_msg(MSGT_STREAM,MSGL_INFO,"Cannot seek backward in linear streams!\n"); return 1; @@ -340,7 +341,6 @@ if(newpos==0 || newpos!=s->pos){ while(s->pos