summaryrefslogtreecommitdiff
path: root/playlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'playlist.c')
-rw-r--r--playlist.c1
1 files changed, 1 insertions, 0 deletions
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;
}