[vlc-commits] demux:mp4: use VLC_TICK_FROM_MS for milliseconds to vlc_tick_t
Steve Lhomme
git at videolan.org
Fri Jul 6 09:20:22 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jun 8 13:49:02 2018 +0200| [efcbf7b6cc55937f7c794871e8431ff97742bb01] | committer: Steve Lhomme
demux:mp4: use VLC_TICK_FROM_MS for milliseconds to vlc_tick_t
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=efcbf7b6cc55937f7c794871e8431ff97742bb01
---
modules/demux/mp4/mp4.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 1aa605d727..527a80e88c 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -2287,7 +2287,7 @@ static void LoadChapterGoPro( demux_t *p_demux, MP4_Box_t *p_hmmt )
EnsureUTF8( s->psz_name );
/* HiLights are stored in ms so we convert them to µs */
- s->i_time_offset = BOXDATA(p_hmmt)->pi_chapter_start[i] * 1000;
+ s->i_time_offset = VLC_TICK_FROM_MS( BOXDATA(p_hmmt)->pi_chapter_start[i] );
TAB_APPEND( p_sys->p_title->i_seekpoint, p_sys->p_title->seekpoint, s );
}
}
More information about the vlc-commits
mailing list