diff options
author | wm4 <wm4@nowhere> | 2013-07-12 22:05:43 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-12 22:16:26 +0200 |
commit | 5c1b8d4aa1d35c806159cb22d52449774eb5186e (patch) | |
tree | d8df9313f536368772762c9011ea497682766ed4 /stream/stream_smb.c | |
parent | cb45b1c65b2fe4644342db202e5f7b9fb64f2488 (diff) | |
download | mpv-5c1b8d4aa1d35c806159cb22d52449774eb5186e.tar.bz2 mpv-5c1b8d4aa1d35c806159cb22d52449774eb5186e.tar.xz |
stream: don't require streams to set a type
Set the type only for streams that have special treatment in other parts
of the code.
Diffstat (limited to 'stream/stream_smb.c')
-rw-r--r-- | stream/stream_smb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/stream/stream_smb.c b/stream/stream_smb.c index b1ebaecd00..d98d3485c1 100644 --- a/stream/stream_smb.c +++ b/stream/stream_smb.c @@ -165,7 +165,6 @@ static int open_f (stream_t *stream, int mode, void *opts) stream->seek = seek; if(mode == STREAM_READ) stream->end_pos = len; } - stream->type = STREAMTYPE_SMB; stream->fd = fd; stream->fill_buffer = fill_buffer; stream->write_buffer = write_buffer; |