We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f1f877 commit 63c49d4Copy full SHA for 63c49d4
mythtv/libs/libmythdvdnav/dvdnav/searching.c
@@ -305,7 +305,7 @@ dvdnav_status_t dvdnav_sector_search(dvdnav_t *this,
305
cell = &(state->pgc->cell_playback[cell_nr-1]);
306
if(cell->block_type == BLOCK_TYPE_ANGLE_BLOCK && cell->block_mode != BLOCK_MODE_FIRST_CELL)
307
continue;
308
- length += cell->last_sector - cell->first_sector + 1;
+ length = cell->last_sector - cell->first_sector + 1;
309
if (target >= length) {
310
target -= length;
311
} else {
0 commit comments