[vlc-devel] commit: Remove broken/unsafe constructs ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Sep 20 13:23:12 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Sep 20 14:26:27 2008 +0300| [61b050bd18e907f0652c419d320322faafbb4003] | committer: Rémi Denis-Courmont 

Remove broken/unsafe constructs

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

 .../gui/qt4/components/playlist/playlist_model.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp b/modules/gui/qt4/components/playlist/playlist_model.cpp
index 6e853c8..b687d1d 100644
--- a/modules/gui/qt4/components/playlist/playlist_model.cpp
+++ b/modules/gui/qt4/components/playlist/playlist_model.cpp
@@ -395,8 +395,7 @@ QStringList PLModel::selectedURIs()
         if( !item )
             continue;
 
-        input_item_t *p_item = input_item_GetById( p_playlist,
-                                                   item->i_input_id );
+        input_item_t *p_item = NULL;
         if( !p_item )
             continue;
 




More information about the vlc-devel mailing list