Skip to content

Commit

Permalink
ogg: Increase maximum allowable packet size.
Browse files Browse the repository at this point in the history
Increase the limit to allow files with very large album art to
play.

Fixes #237.
  • Loading branch information
pdeljanov committed Feb 16, 2024
1 parent 80bb59f commit 1a95474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symphonia-format-ogg/src/logical.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub struct LogicalStream {
}

impl LogicalStream {
const MAX_PACKET_LEN: usize = 8 * 1024 * 1024;
const MAX_PACKET_LEN: usize = 16 * 1024 * 1024;

pub fn new(mapper: Box<dyn Mapper>, gapless: bool) -> Self {
LogicalStream {
Expand Down

0 comments on commit 1a95474

Please sign in to comment.