aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/_ogg_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder/_ogg_common.c')
-rw-r--r--src/decoder/_ogg_common.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/decoder/_ogg_common.c b/src/decoder/_ogg_common.c
index e18b9dadb..03606b415 100644
--- a/src/decoder/_ogg_common.c
+++ b/src/decoder/_ogg_common.c
@@ -30,13 +30,7 @@ ogg_stream_type ogg_stream_type_detect(struct input_stream *inStream)
unsigned char buf[41];
size_t r;
- input_stream_seek(inStream, 0, SEEK_SET);
-
r = decoder_read(NULL, inStream, buf, sizeof(buf));
-
- if (r > 0)
- input_stream_seek(inStream, 0, SEEK_SET);
-
if (r >= 32 && memcmp(buf, "OggS", 4) == 0 && (
(memcmp(buf+29, "FLAC", 4) == 0
&& memcmp(buf+37, "fLaC", 4) == 0)