aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/vorbis_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-08-30 09:42:12 +0200
committerMax Kellermann <max@duempel.org>2009-08-30 09:42:12 +0200
commitf2ff2409adbd18758edfffd6f6021b521eb66c7d (patch)
treea1e6c30ece0d7259861b808fe954c77448afc47c /src/decoder/vorbis_plugin.c
parentbff4c54ece5d6ebf84c1a19a05afbeba57bf65ae (diff)
parent7a690c6b7042315d0756d0a4a45046fc21a1cad8 (diff)
downloadmpd-f2ff2409adbd18758edfffd6f6021b521eb66c7d.tar.gz
mpd-f2ff2409adbd18758edfffd6f6021b521eb66c7d.tar.xz
mpd-f2ff2409adbd18758edfffd6f6021b521eb66c7d.zip
Merged release 0.15.3 from branch 'v0.15.x'
Conflicts: NEWS configure.ac
Diffstat (limited to 'src/decoder/vorbis_plugin.c')
-rwxr-xr-xsrc/decoder/vorbis_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/vorbis_plugin.c b/src/decoder/vorbis_plugin.c
index 39a075176..4548d1b57 100755
--- a/src/decoder/vorbis_plugin.c
+++ b/src/decoder/vorbis_plugin.c
@@ -382,7 +382,7 @@ vorbis_tag_dup(const char *file)
return NULL;
}
- if (ov_open(fp, &vf, NULL, 0) < 0) {
+ if (ov_test_callbacks(fp, &vf, NULL, 0, OV_CALLBACKS_STREAMONLY) < 0) {
fclose(fp);
return NULL;
}