decoder/opus: support bigger OpusTags packets

Required for OpusTags packets which contain artwork.

See https://bugs.musicpd.org/view.php?id=4520
This commit is contained in:
Max Kellermann
2016-04-19 13:05:42 +02:00
parent 70495aada1
commit e6fad97edc
2 changed files with 3 additions and 2 deletions

View File

@@ -441,8 +441,8 @@ mpd_opus_scan_stream(InputStream &is,
if (!oy.ExpectFirstPage(os))
return false;
/* read at most two more pages */
unsigned remaining_pages = 2;
/* read at most 64 more pages */
unsigned remaining_pages = 64;
bool result = false;