Project

General

Profile

audacious-plugins-3.3.3-m3u-empty-lines.patch

Michael Schwendt, January 02, 2013 22:09

View differences:

audacious-plugins-3.3.3/src/m3u/m3u.c 2013-01-02 22:01:41.065219839 +0100
63 63
    if (! feed)
64 64
        return NULL;
65 65

  
66
    * feed = 0;
67
    return feed + 1;
66
    * feed++ = 0;
67
    if (*feed)
68
        return feed;
69
    else
70
        return NULL;
68 71
}
69 72

  
70 73
static bool_t playlist_load_m3u (const char * path, VFSFile * file,
......
85 88
        while (* parse == ' ' || * parse == '\t')
86 89
            parse ++;
87 90

  
88
        if (! * parse)
89
            break;
90

  
91
        if (* parse == '#')
91
        if (* parse == '#' || *parse=='\0')
92 92
            goto NEXT;
93 93

  
94 94
        char * s = aud_construct_uri (parse, path);