[vlc-devel] [v4 04/10] asx: the default duration of items is unset unless read properly

Steve Lhomme robux4 at ycbcr.xyz
Fri Jul 27 12:49:04 CEST 2018


---
 modules/demux/playlist/asx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/playlist/asx.c b/modules/demux/playlist/asx.c
index 4ea05fed3f..55df14eb04 100644
--- a/modules/demux/playlist/asx.c
+++ b/modules/demux/playlist/asx.c
@@ -208,7 +208,7 @@ static void ProcessEntry( int *pi_n_entry, xml_reader_t *p_xml_reader,
 
     do
     {
-        i_duration = INPUT_DURATION_ZERO;
+        i_duration = INPUT_DURATION_UNSET;
         i_type = xml_ReaderNextNode( p_xml_reader, &psz_node );
 
         if( i_type == XML_READER_ERROR || i_type == XML_READER_NONE )
-- 
2.17.0



More information about the vlc-devel mailing list