X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fdemux%2Fplaylist%2Fplaylist.c;h=55ae96f465fa2fca2ff655f4b5f9688a7ec5b362;hb=d63b17d13ef0d76acda28c714c6299df44ffa6fc;hp=94536f3553946ce8ea70c217c553a5f3cd656818;hpb=222f800a28377358198dc3df341f32ea085272af;p=vlc diff --git a/modules/demux/playlist/playlist.c b/modules/demux/playlist/playlist.c index 94536f3553..55ae96f465 100644 --- a/modules/demux/playlist/playlist.c +++ b/modules/demux/playlist/playlist.c @@ -172,12 +172,12 @@ char *FindPrefix( demux_t *p_demux ) char *psz_path; if( p_demux->psz_access ) { - if( asprintf( &psz_path,"%s://%s", p_demux->psz_access, p_demux->psz_path ) == -1 ) + if( asprintf( &psz_path,"%s://%s", p_demux->psz_access, p_demux->psz_location ) == -1 ) return NULL; } else { - psz_path = strdup( p_demux->psz_path ); + psz_path = strdup( p_demux->psz_location ); if( psz_path == NULL ) return NULL; }