diff options
author | 2010-04-15 22:07:12 +0200 | |
---|---|---|
committer | 2010-04-15 22:07:12 +0200 | |
commit | e575295f6e6e85b8a408347ab4536720ccb26ed2 (patch) | |
tree | 47a87587f7d3dc839e2dc0d425a756145c50e954 | |
parent | 2f241083b11f84263fa2d3761247047b8f9405b3 (diff) |
fixed hang in pl_get_idx_of
-rw-r--r-- | playlist.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -52,8 +52,8 @@ #define PLAYLIST_MAJOR_VER 1 #define PLAYLIST_MINOR_VER 1 -//#define trace(...) { fprintf(stderr, __VA_ARGS__); } -#define trace(fmt,...) +#define trace(...) { fprintf(stderr, __VA_ARGS__); } +//#define trace(fmt,...) #define SKIP_BLANK_CUE_TRACKS 1 @@ -1321,6 +1321,7 @@ pl_get_idx_of (playItem_t *it) { idx++; } if (!c) { + UNLOCK; return -1; } UNLOCK; |