vlc | branch: master | Steve Lhomme <[email protected]> | Wed Jun 13 09:54:43 2018 +0200| [2b03b7b06a9f8b7f95b6ef98b23b8fee76848d46] | committer: Steve Lhomme
mux:ts: convert vlc_tick_t to seconds explicitly using SEC_FROM_VLC_TICK() > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2b03b7b06a9f8b7f95b6ef98b23b8fee76848d46 --- modules/mux/mpeg/ts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mux/mpeg/ts.c b/modules/mux/mpeg/ts.c index 836fca3b80..561b591195 100644 --- a/modules/mux/mpeg/ts.c +++ b/modules/mux/mpeg/ts.c @@ -1172,7 +1172,7 @@ static block_t *Encap_J2K( block_t *p_data, const es_format_t *p_fmt ) SetDWBE(&p_data->p_buffer[16], max ); SetDWBE(&p_data->p_buffer[20], min ); memcpy( &p_data->p_buffer[24], "tcod", 4 ); - const unsigned s = p_data->i_pts / CLOCK_FREQ; + const unsigned s = SEC_FROM_VLC_TICK(p_data->i_pts); const unsigned m = s / 60; const unsigned h = m / 60; const uint64_t l = p_fmt->video.i_frame_rate_base * CLOCK_FREQ / _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
