diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:12 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-08-30 19:30:23 -0700 |
commit | fdad7dc9df25ba74d8a4c4d9fab7a25e3e0ef3ca (patch) | |
tree | 9d4f6cc405d60e250062935f67bcca305dcc9f32 /src/myfprintf.c | |
parent | 173b3cc28d40f7555d0f7dbf1cc8823f81762fdb (diff) | |
download | mpd-fdad7dc9df25ba74d8a4c4d9fab7a25e3e0ef3ca.tar.gz mpd-fdad7dc9df25ba74d8a4c4d9fab7a25e3e0ef3ca.tar.xz mpd-fdad7dc9df25ba74d8a4c4d9fab7a25e3e0ef3ca.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 'src/myfprintf.c')
0 files changed, 0 insertions, 0 deletions