vlc | branch: master | Steve Lhomme <[email protected]> | Fri Jul 27 12:36:00 
2018 +0200| [783ab61a181bc28075f18c0ea1df3dd6ff601a79] | committer: Steve Lhomme

asx: the default duration of items is unset unless read properly

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=783ab61a181bc28075f18c0ea1df3dd6ff601a79
---

 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 )

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to