changeset 15057:719883aa0adf

fix http://bugzilla.mplayerhq.hu/show_bug.cgi?id=260
author rathann
date Wed, 06 Apr 2005 11:53:45 +0000
parents 6f949cafe480
children f48dc20c9185
files libmpdemux/stream_vcd.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/stream_vcd.c	Wed Apr 06 07:58:30 2005 +0000
+++ b/libmpdemux/stream_vcd.c	Wed Apr 06 11:53:45 2005 +0000
@@ -89,7 +89,6 @@
   f=open(p->device,O_RDONLY);
   if(f<0){ 
     mp_msg(MSGT_OPEN,MSGL_ERR,MSGTR_CdDevNotfound,p->device);
-    close(f);
     m_struct_free(&stream_opts,opts);
     return STREAM_ERROR;
   }