diff options
Diffstat (limited to 'stream/stream_vcd.c')
-rw-r--r-- | stream/stream_vcd.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/stream/stream_vcd.c b/stream/stream_vcd.c index 23b95cf3c6..0ea8f7dabe 100644 --- a/stream/stream_vcd.c +++ b/stream/stream_vcd.c @@ -78,7 +78,7 @@ static void close_s(stream_t *stream) { free(stream->priv); } -static int open_s(stream_t *stream,int mode) +static int open_s(stream_t *stream) { int ret,ret2,f,sect,tmp; mp_vcd_priv_t* vcd; @@ -90,14 +90,6 @@ static int open_s(stream_t *stream,int mode) char device[20] = "\\\\.\\?:"; #endif - if(mode != STREAM_READ -#if defined(__MINGW32__) || defined(__CYGWIN__) - || GetVersion() > 0x80000000 // Win9x -#endif - ) { - return STREAM_UNSUPPORTED; - } - char *dev = stream->url; if (strncmp("vcd://", dev, 6) != 0) return STREAM_UNSUPPORTED; |