From 578ad534b3d57eac33573e5bf576a819e2ba2303 Mon Sep 17 00:00:00 2001 From: diego Date: Sat, 17 Jul 2010 13:14:53 +0000 Subject: configure: Rename "network" variable and option to "networking" This avoids conflicts with the FFmpeg variable of the same name. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31749 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/stream.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'stream/stream.c') diff --git a/stream/stream.c b/stream/stream.c index d520760867..b562c56cfe 100644 --- a/stream/stream.c +++ b/stream/stream.c @@ -91,7 +91,7 @@ static const stream_info_t* const auto_open_streams[] = { #ifdef CONFIG_CDDA &stream_info_cdda, #endif -#ifdef CONFIG_NETWORK +#ifdef CONFIG_NETWORKING &stream_info_netstream, &stream_info_http1, &stream_info_asf, @@ -176,7 +176,7 @@ static stream_t *open_stream_plugin(const stream_info_t *sinfo, s->flags |= mode; *ret = sinfo->open(s,mode,arg,file_format); if((*ret) != STREAM_OK) { -#ifdef CONFIG_NETWORK +#ifdef CONFIG_NETWORKING if (*ret == STREAM_REDIRECTED && redirected_url) { if (s->streaming_ctrl && s->streaming_ctrl->url && s->streaming_ctrl->url->url) @@ -270,7 +270,7 @@ int stream_fill_buffer(stream_t *s){ // we will retry even if we already reached EOF previously. switch(s->type){ case STREAMTYPE_STREAM: -#ifdef CONFIG_NETWORK +#ifdef CONFIG_NETWORKING if( s->streaming_ctrl!=NULL && s->streaming_ctrl->streaming_read ) { len=s->streaming_ctrl->streaming_read(s->fd,s->buffer,STREAM_BUFFER_SIZE, s->streaming_ctrl); } else @@ -341,7 +341,7 @@ if(newpos==0 || newpos!=s->pos){ // Some streaming protocol allow to seek backward and forward // A function call that return -1 can tell that the protocol // doesn't support seeking. -#ifdef CONFIG_NETWORK +#ifdef CONFIG_NETWORKING if(s->seek) { // new stream seek is much cleaner than streaming_ctrl one if(!s->seek(s,newpos)) { mp_msg(MSGT_STREAM,MSGL_ERR, "Seek failed\n"); -- cgit v1.2.3