aboutsummaryrefslogtreecommitdiff
path: root/src/decoder_thread.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-02 17:01:51 +0100
committerMax Kellermann <max@duempel.org>2008-11-02 17:01:51 +0100
commitc9e15bc418d4a27305b39ccc63e631ac5e329c8b (patch)
tree0e97c8b6c829f464374d3b2cbcbc3fb01e4bebe4 /src/decoder_thread.c
parentc7a374bdcbe85a794b047c638e57b9358d2d095b (diff)
decoder_api: pass "seekable" flag to decoder_initialized()
Don't pass the "seekable" flag with every decoder_data() invocation. Since that flag won't change within the file, it is enough to pass it to decoder_initialized() once per file.
Diffstat (limited to 'src/decoder_thread.c')
-rw-r--r--src/decoder_thread.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/decoder_thread.c b/src/decoder_thread.c
index a05783a6..43db3631 100644
--- a/src/decoder_thread.c
+++ b/src/decoder_thread.c
@@ -76,9 +76,6 @@ static void decodeStart(void)
}
}
- /* for http streams, seekable is determined in input_stream_buffer */
- dc.seekable = inStream.seekable;
-
if (dc.command == DECODE_COMMAND_STOP) {
input_stream_close(&inStream);
return;