[vlc-commits] playlist: fix warning

Rémi Denis-Courmont git at videolan.org
Tue Feb 19 18:00:00 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Feb 19 18:50:59 2019 +0200| [8f0ce71edf9b0cd7a3e73687ae5a458e390fb8e9] | committer: Rémi Denis-Courmont

playlist: fix warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8f0ce71edf9b0cd7a3e73687ae5a458e390fb8e9
---

 src/playlist_legacy/thread.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/playlist_legacy/thread.c b/src/playlist_legacy/thread.c
index 8feb326c2b..6c8ba11bf0 100644
--- a/src/playlist_legacy/thread.c
+++ b/src/playlist_legacy/thread.c
@@ -205,7 +205,7 @@ static void on_input_event(input_thread_t *input,
  */
 static bool PlayItem( playlist_t *p_playlist, playlist_item_t *p_item )
 {
-    vlc_object_t *vlc = VLC_OBJECT(vlc_object_instance(p_playlist));
+    libvlc_int_t *vlc = vlc_object_instance(p_playlist);
     playlist_private_t *p_sys = pl_priv(p_playlist);
     input_item_t *p_input = p_item->p_input;
     vlc_renderer_item_t *p_renderer;



More information about the vlc-commits mailing list