diff options
author | waker <wakeroid@gmail.com> | 2011-05-20 15:13:04 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-05-20 15:13:04 +0200 |
commit | 6eceb965c38cefcb0101e7a2097a6f92743f0eb2 (patch) | |
tree | 6f3194e509bebcb5b8290bb2611ec3a2bbcedfb2 /playlist.c | |
parent | a03b76d9fdd644d210439190a06002e31a9751e9 (diff) |
set initial item duration to -1
Diffstat (limited to 'playlist.c')
-rw-r--r-- | playlist.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |