aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/ogg_codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder/ogg_codec.c')
-rw-r--r--src/decoder/ogg_codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/ogg_codec.c b/src/decoder/ogg_codec.c
index 7d05db8e7..e016e5181 100644
--- a/src/decoder/ogg_codec.c
+++ b/src/decoder/ogg_codec.c
@@ -33,7 +33,7 @@ ogg_codec_detect(struct decoder *decoder, struct input_stream *is)
unsigned char buf[41];
size_t r = decoder_read(decoder, is, buf, sizeof(buf));
if (r < sizeof(buf) || memcmp(buf, "OggS", 4) != 0)
- return OGG_CODEC_VORBIS;
+ return OGG_CODEC_UNKNOWN;
if ((memcmp(buf + 29, "FLAC", 4) == 0 &&
memcmp(buf + 37, "fLaC", 4) == 0) ||