[MPlayer-cvslog] r35490 - trunk/stream/stream_ftp.c

al subversion at mplayerhq.hu
Tue Nov 27 00:38:11 CET 2012


Author: al
Date: Tue Nov 27 00:38:11 2012
New Revision: 35490

Log:
stream ftp: Set type to STREAMTYPE_STREAM

Previously this was not set at all from within the stream_ftp module.
This caused the run-time warning message "Streams need a type!".

The actual behaviour should not be affected by this change.

Modified:
   trunk/stream/stream_ftp.c

Modified: trunk/stream/stream_ftp.c
==============================================================================
--- trunk/stream/stream_ftp.c	Tue Nov 27 00:37:06 2012	(r35489)
+++ trunk/stream/stream_ftp.c	Tue Nov 27 00:38:11 2012	(r35490)
@@ -513,6 +513,7 @@ static int open_f(stream_t *stream,int m
   stream->priv = p;
   stream->fill_buffer = fill_buffer;
   stream->close = close_f;
+  stream->type = STREAMTYPE_STREAM;
 
   return STREAM_OK;
 }


More information about the MPlayer-cvslog mailing list