]> git.sesse.net Git - vlc/blobdiff - modules/demux/playlist/playlist.h
Remove useless debug, fix a bug
[vlc] / modules / demux / playlist / playlist.h
index a8939e4f23cd50105adf44d1f49dbfe73fd1740e..b3ba8ed4aa60e483d04f4a5619835eb2fbd2fd9b 100644 (file)
@@ -87,7 +87,7 @@ void E_(Close_GVP) ( vlc_object_t * );
     { \
         b_play = E_(FindItem)( p_demux, p_playlist, &p_current ); \
         p_item_in_category = playlist_ItemToNode( p_playlist, p_current ); \
-        p_current->p_input->i_type = ITEM_TYPE_PLAYLIST;        \
+        p_item_in_category->p_input->i_type = ITEM_TYPE_PLAYLIST;        \
     }
 
 #define HANDLE_PLAY_AND_RELEASE \