Ticket #6997: changes_on_searching_c_dvdnav.diff
File changes_on_searching_c_dvdnav.diff, 835 bytes (added by , 15 years ago) |
---|
-
libs/libmythdvdnav/dvdnav/searching.c
666 666 { 667 667 dsi = dvdnav_get_current_nav_dsi(this); 668 668 if (length > 0) { 669 for (i = 1; i <=19; i++) {670 if (stime[i -1]/2.0 <= length/2.0) {669 for (i = 0; i < 19; i++) { 670 if (stime[i]/2.0 <= length/2.0) { 671 671 offset = dsi->vobu_sri.fwda[i]; 672 672 if (offset >> 31) { 673 673 new_vobu = cur_vobu + (offset & 0xffff); … … 684 684 } 685 685 } 686 686 } else { 687 for (i = 1; i <=19; i++) {687 for (i = 0; i < 19; i++) { 688 688 if (stime[18 - i]/2.0 >= abs(length)/2.0) 689 689 { 690 690 offset = dsi->vobu_sri.bwda[i];