From: Srikanth Raju Date: Sat, 3 Jul 2010 13:43:33 +0000 (+0530) Subject: ML: Replace pl_Hold with pl_Get X-Git-Tag: 1.2.0-pre1~5955 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=d4d1d2ecbb4054ccce1bd2dd219e58597d661df3;p=vlc ML: Replace pl_Hold with pl_Get --- diff --git a/src/misc/media_library.c b/src/misc/media_library.c index 1105b4af62..cf4e2b7525 100644 --- a/src/misc/media_library.c +++ b/src/misc/media_library.c @@ -371,7 +371,7 @@ void ml_PlaySmartPlaylistBasedOn( media_library_t* p_ml, assert( p_tree ); vlc_array_t* p_results = vlc_array_new(); ml_FindAdv( p_ml, p_results, ML_ID, NULL, p_tree ); - playlist_t* p_pl = pl_Hold( p_ml ); + playlist_t* p_pl = pl_Get( p_ml ); playlist_Lock( p_pl ); playlist_Clear( p_pl, true ); for( int i = 0; i < vlc_array_count( p_results ); i++ )