[vlc-commits] medialib: Fix invalid helper return type
Hugo Beauzée-Luyssen
git at videolan.org
Thu Apr 16 10:18:38 CEST 2020
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Apr 15 11:24:46 2020 +0200| [9c73bd3ad6a3290555d90337b4618b0c1e0d53bf] | committer: Hugo Beauzée-Luyssen
medialib: Fix invalid helper return type
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9c73bd3ad6a3290555d90337b4618b0c1e0d53bf
---
include/vlc_media_library.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/vlc_media_library.h b/include/vlc_media_library.h
index fd6dfb4505..e5ed68604e 100644
--- a/include/vlc_media_library.h
+++ b/include/vlc_media_library.h
@@ -1251,10 +1251,10 @@ static inline size_t vlc_ml_count_shows( vlc_medialibrary_t* p_ml, const vlc_ml_
return count;
}
-static inline vlc_ml_media_list_t* vlc_ml_list_genre_artists( vlc_medialibrary_t* p_ml, const vlc_ml_query_params_t* params, int64_t i_genre_id )
+static inline vlc_ml_artist_list_t* vlc_ml_list_genre_artists( vlc_medialibrary_t* p_ml, const vlc_ml_query_params_t* params, int64_t i_genre_id )
{
vlc_assert( p_ml != NULL );
- vlc_ml_media_list_t* res;
+ vlc_ml_artist_list_t* res;
if ( vlc_ml_list( p_ml, VLC_ML_LIST_GENRE_ARTISTS, params, i_genre_id, &res ) != VLC_SUCCESS )
return NULL;
return res;
More information about the vlc-commits
mailing list