[vlc-commits] asx: reset the item duration for each loop iteration
Steve Lhomme
git at videolan.org
Thu Jul 26 09:55:24 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jul 24 15:40:04 2018 +0200| [22ce307b8ddcce982965ed6fac58860349dc5008] | committer: Steve Lhomme
asx: reset the item duration for each loop iteration
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=22ce307b8ddcce982965ed6fac58860349dc5008
---
modules/demux/playlist/asx.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/demux/playlist/asx.c b/modules/demux/playlist/asx.c
index db5bb44972..4ea05fed3f 100644
--- a/modules/demux/playlist/asx.c
+++ b/modules/demux/playlist/asx.c
@@ -203,11 +203,12 @@ 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 = INPUT_DURATION_ZERO;
+ vlc_tick_t i_duration;
char *ppsz_options[2];
do
{
+ i_duration = INPUT_DURATION_ZERO;
i_type = xml_ReaderNextNode( p_xml_reader, &psz_node );
if( i_type == XML_READER_ERROR || i_type == XML_READER_NONE )
More information about the vlc-commits
mailing list