Skip to content
Snippets Groups Projects
Commit 1d1d48dc authored by Jean-Paul Saman's avatar Jean-Paul Saman
Browse files

assert if p_current is NULL, it should be valid

parent 67da4884
No related branches found
No related tags found
No related merge requests found
......@@ -51,8 +51,7 @@ static void DoChildren( playlist_t *p_playlist, playlist_export_t *p_export,
for( i = 0; i< p_root->i_children ; i++)
{
playlist_item_t *p_current = p_root->pp_children[i];
if( !p_current )
continue;
assert( p_current );
if( p_current->i_flags & PLAYLIST_SAVE_FLAG )
continue;
......@@ -119,4 +118,3 @@ int Export_M3U( vlc_object_t *p_this )
DoChildren( p_playlist, p_export, p_export->p_root );
return VLC_SUCCESS;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment