diff options
author | Voyager1 <voyager@xbmc.org> | 2013-07-14 08:11:55 +0200 |
---|---|---|
committer | Voyager1 <voyager@xbmc.org> | 2013-07-18 08:28:56 +0200 |
commit | c0391c1baf9e8bfdc26e9c12d251096e1a7a1a96 (patch) | |
tree | 2b6b94c00373021a5f816e2c56d61c141882ef81 /lib/libdvd | |
parent | a513ebfacea1477fe0f0fcaafb45ee46a6102d67 (diff) |
[libdvdnav] fix redundant close
Diffstat (limited to 'lib/libdvd')
-rw-r--r-- | lib/libdvd/libdvdnav/src/vm/vm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libdvd/libdvdnav/src/vm/vm.c b/lib/libdvd/libdvdnav/src/vm/vm.c index 57437a8b1b..a14e6750af 100644 --- a/lib/libdvd/libdvdnav/src/vm/vm.c +++ b/lib/libdvd/libdvdnav/src/vm/vm.c @@ -176,7 +176,6 @@ static void dvd_read_name(char *name, char *serial, const char *device) { off = lseek( fd, 32 * (off_t) DVD_VIDEO_LB_LEN, SEEK_SET ); if( off == ( 32 * (off_t) DVD_VIDEO_LB_LEN ) ) { off = read( fd, data, DVD_VIDEO_LB_LEN ); - close(fd); if (off == ( (off_t) DVD_VIDEO_LB_LEN )) { fprintf(MSG_OUT, "libdvdnav: DVD Title: "); for(i=25; i < 73; i++ ) { |