summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvd.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_dvd.c')
-rw-r--r--stream/stream_dvd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c
index 941cb824a2..98b648126b 100644
--- a/stream/stream_dvd.c
+++ b/stream/stream_dvd.c
@@ -1091,8 +1091,6 @@ ifo_stream_open (stream_t *stream, int mode, void *opts, int *file_format)
return STREAM_UNSUPPORTED;
mp_msg(MSGT_DVD, MSGL_INFO, ".IFO detected. Redirecting to dvd://\n");
- if (!dvd_device)
- dvd_device = strdup(dirname (stream->url));
filename = strdup(basename(stream->url));