decoder/wavpack: bigger tag value buffer
Prepare for big CUESHEET tags.
This commit is contained in:
parent
ffea273a28
commit
8a3192ffc1
@ -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);
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user