summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
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;
}