From 4d7b5734372339615c762197d51e66100409a079 Mon Sep 17 00:00:00 2001 From: Steve Lhomme <robux4@ycbcr.xyz> Date: Fri, 6 Jul 2018 14:27:36 +0200 Subject: [PATCH] modules: make use of the special duration value INPUT_DURATION_ZERO --- modules/demux/playlist/asx.c | 2 +- modules/demux/playlist/sgimb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/demux/playlist/asx.c b/modules/demux/playlist/asx.c index 6e0bec1987aa..db5bb44972c1 100644 --- a/modules/demux/playlist/asx.c +++ b/modules/demux/playlist/asx.c @@ -203,7 +203,7 @@ static void ProcessEntry( int *pi_n_entry, xml_reader_t *p_xml_reader, int i_options; vlc_tick_t i_start = 0; - vlc_tick_t i_duration = 0; + vlc_tick_t i_duration = INPUT_DURATION_ZERO; char *ppsz_options[2]; do diff --git a/modules/demux/playlist/sgimb.c b/modules/demux/playlist/sgimb.c index bb85bbdcb229..e1a772a1a98e 100644 --- a/modules/demux/playlist/sgimb.c +++ b/modules/demux/playlist/sgimb.c @@ -171,7 +171,7 @@ int Import_SGIMB( vlc_object_t * p_this ) p_sys->psz_mcast_ip = NULL; p_sys->i_mcast_port = 0; p_sys->i_packet_size = 0; - p_sys->i_duration = 0; + p_sys->i_duration = INPUT_DURATION_ZERO; p_sys->i_port = 0; p_sys->i_sid = 0; p_sys->b_rtsp_kasenna = false; -- GitLab