SOURCES: smplayer-playlist_oor.patch (NEW) - fixed out of range in playlist

charles charles at pld-linux.org
Sat May 31 13:21:38 CEST 2008


Author: charles                      Date: Sat May 31 11:21:38 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fixed out of range in playlist

---- Files affected:
SOURCES:
   smplayer-playlist_oor.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/smplayer-playlist_oor.patch
diff -u /dev/null SOURCES/smplayer-playlist_oor.patch:1.1
--- /dev/null	Sat May 31 13:21:38 2008
+++ SOURCES/smplayer-playlist_oor.patch	Sat May 31 13:21:32 2008
@@ -0,0 +1,11 @@
+--- smplayer-0.6.1/src/playlist.cpp.orig	2008-04-27 01:24:04.000000000 +0200
++++ smplayer-0.6.1/src/playlist.cpp	2008-05-31 11:25:17.057627094 +0200
+@@ -810,7 +810,7 @@
+ 
+ void Playlist::playPrev() {
+ 	qDebug("Playlist::playPrev");
+-	playItem( current_item-1 );
++	if (current_item > 0) playItem( current_item-1 );
+ }
+ 
+ void Playlist::getMediaInfo() {
================================================================


More information about the pld-cvs-commit mailing list