vlc | branch: master | Steve Lhomme <rob...@ycbcr.xyz> | Tue Sep 18 14:56:30 2018 +0200| [af3af078f499f88df5c03ac955ae45082aea5d4b] | committer: Steve Lhomme
mux:ogg: the values passed to AddIndexEntry() are vlc_tick_t Adjust the variable types accordingly > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=af3af078f499f88df5c03ac955ae45082aea5d4b --- modules/mux/ogg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/mux/ogg.c b/modules/mux/ogg.c index 607064a135..6a47ffafc3 100644 --- a/modules/mux/ogg.c +++ b/modules/mux/ogg.c @@ -177,7 +177,7 @@ typedef struct int i_index_pageno; /* index creation tracking values */ uint64_t i_last_keyframe_pos; - uint64_t i_last_keyframe_time; + vlc_tick_t i_last_keyframe_time; } skeleton; int i_dirac_last_pt; @@ -624,12 +624,12 @@ static int WriteQWVariableLE( uint64_t i_64, uint64_t i_offset, } } -static bool AddIndexEntry( sout_mux_t *p_mux, uint64_t i_time, sout_input_t *p_input ) +static bool AddIndexEntry( sout_mux_t *p_mux, vlc_tick_t i_time, sout_input_t *p_input ) { sout_mux_sys_t *p_sys = p_mux->p_sys; ogg_stream_t *p_stream = (ogg_stream_t *) p_input->p_sys; uint64_t i_posdelta; - uint64_t i_timedelta; + vlc_tick_t i_timedelta; if ( !p_sys->skeleton.b_create || p_sys->skeleton.i_index_intvl == 0 || !p_stream->skeleton.p_index ) return false; _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits