[vlc-commits] libvlc: use pl_Get() as appropriate

Rémi Denis-Courmont git at videolan.org
Mon Nov 26 22:57:34 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov 26 23:27:08 2012 +0200| [3074057ce358828e56da86ed99a081c567847eb2] | committer: Rémi Denis-Courmont

libvlc: use pl_Get() as appropriate

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

 lib/playlist.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/playlist.c b/lib/playlist.c
index f0715a0..6fe1b31 100644
--- a/lib/playlist.c
+++ b/lib/playlist.c
@@ -41,7 +41,7 @@
 void libvlc_playlist_play( libvlc_instance_t *p_instance, int i_id,
                            int i_options, char **ppsz_options )
 {
-    playlist_t *pl = libvlc_priv (p_instance->p_libvlc_int)->p_playlist;
+    playlist_t *pl = pl_Get (p_instance->p_libvlc_int);
     VLC_UNUSED(i_id); VLC_UNUSED(i_options); VLC_UNUSED(ppsz_options);
 
     assert( pl );



More information about the vlc-commits mailing list