[vlc-commits] demux: mp4: missing sample in chunk alignment on seek (fix #13414)
Francois Cartegnie
git at videolan.org
Tue Dec 30 17:09:03 CET 2014
vlc/vlc-2.2 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Dec 28 22:32:33 2014 +0100| [58db383b944744c0a5cab358eba248f398a1479d] | committer: Jean-Baptiste Kempf
demux: mp4: missing sample in chunk alignment on seek (fix #13414)
(cherry picked from commit 7be55cf6d7894e56275b9189b80677fbd21f8c3b)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=58db383b944744c0a5cab358eba248f398a1479d
---
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 8b9bf6c..f57f7fb 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -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;
More information about the vlc-commits
mailing list