[vlc-commits] demux: mp4: missing sample in chunk alignment on seek (fix #13414)
Francois Cartegnie
git at videolan.org
Sun Dec 28 22:35:48 CET 2014
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Dec 28 22:32:33 2014 +0100| [7be55cf6d7894e56275b9189b80677fbd21f8c3b] | committer: Francois Cartegnie
demux: mp4: missing sample in chunk alignment on seek (fix #13414)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7be55cf6d7894e56275b9189b80677fbd21f8c3b
---
modules/demux/mp4/mp4.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 2242fea..97d94fb 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -2597,6 +2597,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;
More information about the vlc-commits
mailing list