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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user