diff options
author | Max Kellermann <max@duempel.org> | 2008-09-07 19:19:41 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-07 19:19:41 +0200 |
commit | 3553ed2f9b96ff6c54cd21ceb4d5ab5891e26660 (patch) | |
tree | 9f0d0af66dbad996f96bb1baa9afb922240db455 /src/metadataChunk.c | |
parent | 1ce5f4d75ba5d3c151670fd36a816bfd8ee75c80 (diff) | |
download | mpd-3553ed2f9b96ff6c54cd21ceb4d5ab5891e26660.tar.gz mpd-3553ed2f9b96ff6c54cd21ceb4d5ab5891e26660.tar.xz mpd-3553ed2f9b96ff6c54cd21ceb4d5ab5891e26660.zip |
playlist: replaced song_id_exists() with song_id_to_position()
Since all callers of song_id_exists() will map it to a song position
after the check, introduce a new function called song_id_to_position()
which performs both the check and the map lookup, including nice
assertions.
Diffstat (limited to 'src/metadataChunk.c')
0 files changed, 0 insertions, 0 deletions