1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-03 01:31:53 +02:00

assert if p_current is NULL, it should be valid

This commit is contained in:
Jean-Paul Saman 2007-03-10 23:11:00 +00:00
parent 67da4884c3
commit 1d1d48dc48

View File

@ -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;
}