aboutsummaryrefslogtreecommitdiffstats
path: root/src/outputBuffer.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-28 02:27:36 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-28 02:27:36 +0000
commit71e7127585bef04c06f3555686ac934a33d97bd8 (patch)
treebf3ac9bd20a713e29922d4eb6cb0042767bda7eb /src/outputBuffer.c
parente93229bf49d5f5647f67241626e1a8becae7b65d (diff)
downloadmpd-71e7127585bef04c06f3555686ac934a33d97bd8.tar.gz
mpd-71e7127585bef04c06f3555686ac934a33d97bd8.tar.xz
mpd-71e7127585bef04c06f3555686ac934a33d97bd8.zip
undo last changes
git-svn-id: https://svn.musicpd.org/mpd/trunk@1217 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/outputBuffer.c')
-rw-r--r--src/outputBuffer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/outputBuffer.c b/src/outputBuffer.c
index b5ccaff52..f1ea86925 100644
--- a/src/outputBuffer.c
+++ b/src/outputBuffer.c
@@ -74,8 +74,7 @@ int sendDataToOutputBuffer(OutputBuffer * cb, InputStream * inStream,
while(datalen) {
if(currentChunk != cb->end) {
- while(cb->begin==cb->end && cb->wrap && !dc->stop &&
- !dc->seek)
+ while(cb->begin==cb->end && cb->wrap && !dc->stop)
{
if(!inStream ||
bufferInputStream(inStream) <= 0)
@@ -84,7 +83,6 @@ int sendDataToOutputBuffer(OutputBuffer * cb, InputStream * inStream,
}
}
if(dc->stop) return OUTPUT_BUFFER_DC_STOP;
- if(dc->seek) return OUTPUT_BUFFER_DC_SEEK;
currentChunk = cb->end;
cb->chunkSize[currentChunk] = 0;