Commit c8008fa9 authored by Christophe Massiot's avatar Christophe Massiot

* modules/demux/playlist/m3u.c: If name is empty, assume that the author

   is in reality the name of the file (compatibility with existing
   m3u files).
parent d9e1effe
......@@ -316,6 +316,13 @@ static void parseEXTINF(char *psz_string, char **ppsz_author,
/* the title doesn't need to be escaped */
*ppsz_name = psz_string;
if( !**ppsz_name )
/* Assume a syntax without author name */
*ppsz_name = *ppsz_author;
*ppsz_author = NULL;
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