Also dealt w/ in the commit in November '11 in my github tree: https://github.com/microe/libdvdnav
Thanks E On Tue, Nov 6, 2012 at 10:25 AM, Reimar Döffinger <[email protected]> wrote: > There is another close further down that will always be reached. > Current code will result in a double close. > > Index: vm/vm.c > =================================================================== > --- vm/vm.c (revision 1243) > +++ vm/vm.c (working copy) > @@ -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++ ) { > > _______________________________________________ > DVDnav-discuss mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss -- Erik Hovland [email protected] http://hovland.org/ _______________________________________________ DVDnav-discuss mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss
