summaryrefslogtreecommitdiffstats
path: root/stream/stream_vcd.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-12 22:05:43 +0200
committerwm4 <wm4@nowhere>2013-07-12 22:16:26 +0200
commit5c1b8d4aa1d35c806159cb22d52449774eb5186e (patch)
treed8df9313f536368772762c9011ea497682766ed4 /stream/stream_vcd.c
parentcb45b1c65b2fe4644342db202e5f7b9fb64f2488 (diff)
downloadmpv-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_vcd.c')
-rw-r--r--stream/stream_vcd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/stream/stream_vcd.c b/stream/stream_vcd.c
index a8b7924030..8828f227d9 100644
--- a/stream/stream_vcd.c
+++ b/stream/stream_vcd.c
@@ -221,7 +221,6 @@ static int open_s(stream_t *stream,int mode, void* opts)
#endif
stream->fd = f;
- stream->type = STREAMTYPE_VCD;
stream->sector_size = VCD_SECTOR_DATA;
stream->start_pos=ret;
stream->end_pos=ret2;