aboutsummaryrefslogtreecommitdiffstats
path: root/src/path.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:12 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:27:12 +0200
commite99536e8eb56cb829a67ea19f29426ec4b938dcc (patch)
tree9176dc0ded3e396d18eb460d0f57aa2fea6352e7 /src/path.c
parente4c6c01903038d3d308fad2b10f5133b49abe724 (diff)
downloadmpd-e99536e8eb56cb829a67ea19f29426ec4b938dcc.tar.gz
mpd-e99536e8eb56cb829a67ea19f29426ec4b938dcc.tar.xz
mpd-e99536e8eb56cb829a67ea19f29426ec4b938dcc.zip
mp3: moved dropSamplesAtEnd check out of the loop
Simplifying loops for performance: why check dropSamplesAtEnd in every iteration, when we could modify the loop boundary? The (writable) variable samplesLeft can be eliminated; add a write-once variable pcm_length instead, which is used for the loop condition.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions