diff options
-rw-r--r-- | stream/stream_dvd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c index b8423153a4..31ec2e1774 100644 --- a/stream/stream_dvd.c +++ b/stream/stream_dvd.c @@ -748,11 +748,9 @@ static int control(stream_t *stream,int cmd,void* arg) static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { struct stream_priv_s* p = (struct stream_priv_s*)opts; - char *filename; int k; - filename = strdup(stream->url); - mp_msg(MSGT_OPEN,MSGL_V,"URL: %s\n", filename); + mp_msg(MSGT_OPEN,MSGL_V,"URL: %s\n", stream->url); dvd_title = p->title; if(1){ //int ret,ret2; |