mpx/playbackframework/playbackengine/src/mpxplaybackengine.cpp
changeset 2 7a9a8e73f54b
parent 0 a2952bb97e68
child 3 b425f12f328d
--- a/mpx/playbackframework/playbackengine/src/mpxplaybackengine.cpp	Thu Jan 07 12:57:30 2010 +0200
+++ b/mpx/playbackframework/playbackengine/src/mpxplaybackengine.cpp	Mon Jan 18 20:36:37 2010 +0200
@@ -1514,7 +1514,7 @@
         // Try pre-initialsing the next song, just in case we get there
         //
         TBool more = iInitializer->Next();
-        if (!more && iPlaylist->Shuffle())
+        if (!more && iPlaylist && iPlaylist->Shuffle())
             { // Reach to the end and shuffle is on, pre-initializer
               // needs  to re-copy the new shuffle list from engine
             if (iInitializer)