[vlc-devel] commit: playlist: Fix a typo. (Pierre d'Herbemont )

git version control git at videolan.org
Tue Apr 1 23:07:25 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Tue Apr  1 23:05:54 2008 +0200| [bf6537c099f4ede86946a7a58d168e996327f544]

playlist: Fix a typo.

This fixes bbf6e4fecf2f42178726ddbcf050c03b6e28b749. Apologize to funman II.

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

 src/playlist/engine.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/playlist/engine.c b/src/playlist/engine.c
index e297231..3c49889 100644
--- a/src/playlist/engine.c
+++ b/src/playlist/engine.c
@@ -485,14 +485,14 @@ void playlist_LastLoop( playlist_t *p_playlist )
     }
 
     playlist_MLDump( p_playlist );
-    /* We don't need the media library anymore */
 
-    /* Because this nasty recursive function decreases the
+    /* Because this recursive function decreases the
      * p_playlist->p_ml_category refcount, it may get deleted.
      * However we will delete the p_playlist->p_ml_category in the
      * following FOREACH. */
-    vlc_gc_incref( p_playlist->p_ml_category );
+    vlc_gc_incref( p_playlist->p_ml_category->p_input );
 
+    /* We don't need the media library anymore */
     /* Decref all subitems, and the given items */
     recursively_decref( p_playlist->p_ml_category );
 




More information about the vlc-devel mailing list