Changeset 3f5c8f4e99c1ae379cb6a28298180b44df13d218

Show
Ignore:
Timestamp:
04/01/08 22:33:04 (5 months ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1207081984 +0200
git-parent:

[bbf6e4fecf2f42178726ddbcf050c03b6e28b749]

git-author:
Pierre d'Herbemont <pdherbemont@videolan.org> 1207081984 +0200
Message:

playlist: rename ML_decref() to recursively_decref(). Please give useful name to function saying what they do.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/playlist/engine.c

    rbbf6e4f r3f5c8f4  
    397397} 
    398398 
    399 static void ML_Decref( playlist_item_t *p_node ) 
     399static void recursively_decref( playlist_item_t *p_node ) 
    400400{ 
    401401    vlc_gc_decref( p_node->p_input ); 
     
    404404    if( p_node->i_children > 0 ) 
    405405        for( i = 0 ; i < p_node->i_children ; i++ ) 
    406             ML_Decref( p_node->pp_children[i] ); 
     406            recursively_decref( p_node->pp_children[i] ); 
    407407} 
    408408 
     
    495495 
    496496    /* Decref all subitems, and the given items */ 
    497     ML_Decref( p_playlist->p_ml_category ); 
     497    recursively_decref( p_playlist->p_ml_category ); 
    498498 
    499499    PL_LOCK;