From d686ebc4750efb766dcdecb2be69b8b28d591a09 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Fri, 12 Nov 2021 11:38:45 +0100 Subject: [PATCH] mpeg/mp3: increase MP3 payload buffer size --- nihav-mpeg/src/codecs/mpegaudio/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5