[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/multimedia/amarok/src/engine/xine
From:       Jakub Stachowski <qbast () go2 ! pl>
Date:       2006-11-02 17:18:44
Message-ID: 1162487924.152766.23990.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 601259 by qbast:

Ensure that track length is not negative.
BUG: 136580



 M  +3 -1      xine-engine.cpp  


--- trunk/extragear/multimedia/amarok/src/engine/xine/xine-engine.cpp #601258:601259
@@ -466,7 +466,9 @@
         int length = 0;
 
         xine_get_pos_length( m_stream, &pos, &time, &length );
-
+        if( length < 0 )
+            length=0;
+	    	
         return length;
     }
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic