summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorrathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-04-06 11:53:45 +0000
committerrathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-04-06 11:53:45 +0000
commitd621bc66d2ae9b9e3d375add71b1b45c6aa66e7f (patch)
tree56901beb7f6d8e6e57af73811658ae7c25aff5fa /libmpdemux
parentf2312ef605c7280d0d061c7507fe51caa8fd7276 (diff)
downloadmpv-d621bc66d2ae9b9e3d375add71b1b45c6aa66e7f.tar.bz2
mpv-d621bc66d2ae9b9e3d375add71b1b45c6aa66e7f.tar.xz
fix http://bugzilla.mplayerhq.hu/show_bug.cgi?id=260
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15058 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/stream_vcd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libmpdemux/stream_vcd.c b/libmpdemux/stream_vcd.c
index 93203ddf6b..3c408cba48 100644
--- a/libmpdemux/stream_vcd.c
+++ b/libmpdemux/stream_vcd.c
@@ -89,7 +89,6 @@ static int open_s(stream_t *stream,int mode, void* opts, int* file_format) {
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;
}