changeset 25187:e2625ae16f56

this variable was nothing but a useless memleak
author ben
date Fri, 30 Nov 2007 19:54:30 +0000
parents 919916007cd2
children 32b0428fbd5a
files stream/stream_dvd.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_dvd.c	Fri Nov 30 19:51:30 2007 +0000
+++ b/stream/stream_dvd.c	Fri Nov 30 19:54:30 2007 +0000
@@ -748,11 +748,9 @@
 
 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;