summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stream/stream_dvd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c
index b3c87a108d..739857708e 100644
--- a/stream/stream_dvd.c
+++ b/stream/stream_dvd.c
@@ -118,6 +118,7 @@ static void dvd_set_speed(char *device, unsigned speed)
mp_msg(MSGT_OPEN, MSGL_INFO, MSGTR_DVDlimitFail);
} else
mp_msg(MSGT_OPEN, MSGL_INFO, MSGTR_DVDlimitOk);
+ close(fd);
#endif
}