From: Kostya Shishkov Date: Fri, 12 Nov 2021 10:38:45 +0000 (+0100) Subject: mpeg/mp3: increase MP3 payload buffer size X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=d686ebc4750efb766dcdecb2be69b8b28d591a09;p=nihav.git mpeg/mp3: increase MP3 payload buffer size --- diff --git a/nihav-mpeg/src/codecs/mpegaudio/mod.rs b/nihav-mpeg/src/codecs/mpegaudio/mod.rs index f61b0a1..1a2ef6e 100644 --- a/nihav-mpeg/src/codecs/mpegaudio/mod.rs +++ b/nihav-mpeg/src/codecs/mpegaudio/mod.rs @@ -7,7 +7,7 @@ mod mp3code; use mp3code::*; const SAMPLES: usize = 1152; -const BYTEBUF_SIZE: usize = 1024; +const BYTEBUF_SIZE: usize = 2048; #[allow(clippy::large_enum_variant)] enum LayerData {