From c9e15bc418d4a27305b39ccc63e631ac5e329c8b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 2 Nov 2008 17:01:51 +0100 Subject: 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. --- src/decoder_thread.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/decoder_thread.c') 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; -- cgit v1.2.3