aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderThread.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/DecoderThread.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/DecoderThread.cxx b/src/DecoderThread.cxx
index 4e2c4418a..b3f0e6f36 100644
--- a/src/DecoderThread.cxx
+++ b/src/DecoderThread.cxx
@@ -40,9 +40,6 @@
#include <glib.h>
-#include <unistd.h>
-#include <stdio.h> /* for SEEK_SET */
-
static constexpr Domain decoder_thread_domain("decoder_thread");
/**
@@ -128,7 +125,7 @@ decoder_stream_decode(const DecoderPlugin &plugin,
return true;
/* rewind the stream, so each plugin gets a fresh start */
- input_stream->Seek(0, SEEK_SET, IgnoreError());
+ input_stream->Rewind(IgnoreError());
decoder.dc.Unlock();