Commit 898c9279 authored by Christophe Mutricy's avatar Christophe Mutricy

Do not pass too much argument to sprintf

parent 77466c8f
...@@ -134,8 +134,7 @@ int playlist_MLDump( playlist_t *p_playlist ) ...@@ -134,8 +134,7 @@ int playlist_MLDump( playlist_t *p_playlist )
return VLC_EGENERIC; return VLC_EGENERIC;
} }
asprintf( &psz_uri, "%s" DIR_SEP "%s", psz_dirname, asprintf( &psz_uri, "%s" DIR_SEP "%s", psz_dirname, "ml.xsp" );
"ml.xsp", psz_homedir );
stats_TimerStart( p_playlist, "ML Dump", STATS_TIMER_ML_DUMP ); stats_TimerStart( p_playlist, "ML Dump", STATS_TIMER_ML_DUMP );
playlist_Export( p_playlist, psz_uri, p_playlist->p_ml_category, playlist_Export( p_playlist, psz_uri, p_playlist->p_ml_category,
"export-xspf" ); "export-xspf" );
......
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