[MPlayer-cvslog] r35490 - trunk/stream/stream_ftp.c
subversion at mplayerhq.hu
Tue Nov 27 00:38:11 CET 2012
Date: Tue Nov 27 00:38:11 2012
New Revision: 35490
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.
--- 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;
More information about the MPlayer-cvslog