comparison stream/stream_dvd.c @ 25041:985bb0dc612e

Add a missing close() to dvd_set_speed function
author reimar
date Sat, 17 Nov 2007 18:27:17 +0000
parents ea694492cb2e
children e764cbed0175
comparison
equal deleted inserted replaced
25040:ea694492cb2e 25041:985bb0dc612e
116 116
117 if (ioctl(fd, SG_IO, &sghdr) < 0) { 117 if (ioctl(fd, SG_IO, &sghdr) < 0) {
118 mp_msg(MSGT_OPEN, MSGL_INFO, MSGTR_DVDlimitFail); 118 mp_msg(MSGT_OPEN, MSGL_INFO, MSGTR_DVDlimitFail);
119 } else 119 } else
120 mp_msg(MSGT_OPEN, MSGL_INFO, MSGTR_DVDlimitOk); 120 mp_msg(MSGT_OPEN, MSGL_INFO, MSGTR_DVDlimitOk);
121 close(fd);
121 #endif 122 #endif
122 } 123 }
123 124
124 #define LIBDVDREAD_VERSION(maj,min,micro) ((maj)*10000 + (min)*100 + (micro)) 125 #define LIBDVDREAD_VERSION(maj,min,micro) ((maj)*10000 + (min)*100 + (micro))
125 /* 126 /*