From 6eceb965c38cefcb0101e7a2097a6f92743f0eb2 Mon Sep 17 00:00:00 2001 From: waker Date: Fri, 20 May 2011 15:13:04 +0200 Subject: set initial item duration to -1 --- playlist.c | 1 + 1 file changed, 1 insertion(+) (limited to 'playlist.c') diff --git a/playlist.c b/playlist.c index e7f4391b..ee7801c0 100644 --- a/playlist.c +++ b/playlist.c @@ -1937,6 +1937,7 @@ playItem_t * pl_item_alloc (void) { playItem_t *it = malloc (sizeof (playItem_t)); memset (it, 0, sizeof (playItem_t)); + it->_duration = -1; it->_refc = 1; return it; } -- cgit v1.2.3