Commit 752251a4 authored by Laurent Aimar's avatar Laurent Aimar

Backport [20311] (m3u length parsing, BUT it is incomplete as it will break ABI)

parent 88717885
...@@ -183,7 +183,7 @@ static int Demux( demux_t *p_demux ) ...@@ -183,7 +183,7 @@ static int Demux( demux_t *p_demux )
psz_parse += sizeof("EXTINF:") - 1; psz_parse += sizeof("EXTINF:") - 1;
parseEXTINF( psz_parse, &psz_artist, &psz_name, &i_parsed_duration ); parseEXTINF( psz_parse, &psz_artist, &psz_name, &i_parsed_duration );
if ( i_parsed_duration >= 0 ) if ( i_parsed_duration >= 0 )
i_duration = i_parsed_duration * 1000000; i_duration = i_parsed_duration * I64C(1000000);
if ( psz_name ) if ( psz_name )
psz_name = strdup( psz_name ); psz_name = strdup( psz_name );
if ( psz_artist ) if ( psz_artist )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment