]> git.sesse.net Git - vlc/commitdiff
* src/playlist/playlist.c: bug fix.
authorGildas Bazin <gbazin@videolan.org>
Mon, 23 Feb 2004 21:50:14 +0000 (21:50 +0000)
committerGildas Bazin <gbazin@videolan.org>
Mon, 23 Feb 2004 21:50:14 +0000 (21:50 +0000)
src/playlist/playlist.c

index f7026d7037a53289a0e4f21a0197a756b4914421..d29407a41f699ffd62d4f89bfb5d318b0d2ed9be 100644 (file)
@@ -2,7 +2,7 @@
  * playlist.c : Playlist management functions
  *****************************************************************************
  * Copyright (C) 1999-2004 VideoLAN
- * $Id: playlist.c,v 1.80 2004/02/23 12:17:24 gbazin Exp $
+ * $Id: playlist.c,v 1.81 2004/02/23 21:50:14 gbazin Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -267,7 +267,7 @@ static mtime_t ObjectGarbageCollector( playlist_t *p_playlist, int i_type,
 {
     vlc_object_t *p_obj;
 
-    if( destroy_date > mdate() ) return;
+    if( destroy_date > mdate() ) return destroy_date;
 
     if( destroy_date == 0 )
     {