demux: mp4: fix unaligned trun seek

refs #26719
This commit is contained in:
Francois Cartegnie 2022-03-17 19:11:22 +01:00 committed by Jean-Baptiste Kempf
parent ca20897cf6
commit 3ee0bb4c28
1 changed files with 1 additions and 1 deletions

View File

@ -1893,10 +1893,10 @@ static void FragTrunSeekToTime( mp4_track_t *p_track, stime_t i_target_time )
i_sample++;
}
}
p_track->context.i_trun_sample = i_sample;
p_track->context.i_trun_sample_pos = i_pos;
p_track->context.runs.i_current = i_run;
p_track->i_time = i_time;
}
#define INVALID_SEGMENT_TIME VLC_TICK_MAX