Commit 58db383b authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Jean-Baptiste Kempf

demux: mp4: missing sample in chunk alignment on seek (fix #13414)

(cherry picked from commit 7be55cf6d7894e56275b9189b80677fbd21f8c3b)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent cc550b9e
......@@ -3051,6 +3051,7 @@ static int TrackGotoChunkSample( demux_t *p_demux, mp4_track_t *p_track,
}
p_track->i_chunk = i_chunk;
p_track->chunk[i_chunk].i_sample = i_sample - p_track->chunk[i_chunk].i_sample_first;
p_track->i_sample = i_sample;
return p_track->b_selected ? VLC_SUCCESS : VLC_EGENERIC;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment