diff options
author | Max Kellermann <max@duempel.org> | 2008-04-12 04:21:13 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-04-12 04:21:13 +0000 |
commit | f0e78138d1f60581cc09ec50a73e8c9dc6cd4241 (patch) | |
tree | 48f99b55596d32a6b5f92fe6fdc045c321a0f6b6 /src/mp4ff/drmstables.h | |
parent | 3105280f26e07108ba979be11e398ff2155c1ceb (diff) | |
download | mpd-f0e78138d1f60581cc09ec50a73e8c9dc6cd4241.tar.gz mpd-f0e78138d1f60581cc09ec50a73e8c9dc6cd4241.tar.xz mpd-f0e78138d1f60581cc09ec50a73e8c9dc6cd4241.zip |
eliminate OutputBuffer.currentChunk
OutputBuffer.currentChunk contains redundant data: it is either -1
when there is no chunk which is currently being written, or it equals
"end". If we always keep chunk[end] in a valid state, we can remove
OutputBuffer.currentChunk.
This patch may look a bit clumsy, especially flushOutputBuffer(), but
that will be fixed later with an major OutputBuffer API overhaul.
git-svn-id: https://svn.musicpd.org/mpd/trunk@7339 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/mp4ff/drmstables.h')
0 files changed, 0 insertions, 0 deletions