diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-11-14 11:50:15 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-11-14 11:50:15 +0100 |
commit | 72a7cb6212ae0436adc66f43fe5e140a57469378 (patch) | |
tree | ce9d3283e623e1ae61c5d718f1f04e111acd191a /playlist.c | |
parent | bd1bf032655c76caefeb406dbc98b98f1eba72d6 (diff) |
fixed bug in pl_load leading to very slow playlist loading
Diffstat (limited to 'playlist.c')
-rw-r--r-- | playlist.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1396,7 +1396,9 @@ pl_load (const char *fname) { if (fread (&d, 1, 4, fp) != 4) { goto load_fail; } - pl_set_item_duration (it, d); +// pl_set_item_duration (it, d); + it->_duration = d; + pl_totaltime += d; // get const filetype string from decoder uint8_t ft; if (fread (&ft, 1, 1, fp) != 1) { |