# HG changeset patch # User rathann # Date 1380840232 0 # Node ID 2e6f41e04ca178148ebc81e9052ecb5603173602 # Parent 10c91a9d6a2e59ee2aa48620362d4380bfb9ff32 Do not close file twice. There is another close further down that will always be reached. Patch by Reimar Dffinger ^Reimar&Doeffinger*gmx!de# diff -r 10c91a9d6a2e -r 2e6f41e04ca1 vm/vm.c --- a/vm/vm.c Thu Oct 03 22:39:38 2013 +0000 +++ b/vm/vm.c Thu Oct 03 22:43:52 2013 +0000 @@ -176,7 +176,6 @@ 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++ ) {