aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-02-12 16:10:15 +0100
committerMax Kellermann <max@duempel.org>2012-02-12 16:10:20 +0100
commit8a3192ffc16c54b1d50ea190f1e3d4f941ceefd1 (patch)
tree696f82402fca7cb284106ca82eaef6ea2bf8cc24 /src
parentffea273a28179d2b5bbc24f967517bcf80940c63 (diff)
downloadmpd-8a3192ffc16c54b1d50ea190f1e3d4f941ceefd1.tar.gz
mpd-8a3192ffc16c54b1d50ea190f1e3d4f941ceefd1.tar.xz
mpd-8a3192ffc16c54b1d50ea190f1e3d4f941ceefd1.zip
decoder/wavpack: bigger tag value buffer
Prepare for big CUESHEET tags.
Diffstat (limited to '')
-rw-r--r--src/decoder/wavpack_decoder_plugin.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/decoder/wavpack_decoder_plugin.c b/src/decoder/wavpack_decoder_plugin.c
index 88a4854b8..ae85b0e27 100644
--- a/src/decoder/wavpack_decoder_plugin.c
+++ b/src/decoder/wavpack_decoder_plugin.c
@@ -290,13 +290,12 @@ static void
wavpack_scan_pair(WavpackContext *wpc, const char *name,
const struct tag_handler *handler, void *handler_ctx)
{
- char buffer[1024];
+ char buffer[8192];
int len = WavpackGetTagItem(wpc, name, buffer, sizeof(buffer));
if (len <= 0 || (unsigned)len >= sizeof(buffer))
return;
tag_handler_invoke_pair(handler, handler_ctx, name, buffer);
-
}
/*