[vlc-commits] audio_output: increase allowed max sample rate to 384 kHz

Tristan Matthews git at videolan.org
Sun Jan 5 06:01:07 CET 2020


vlc/vlc-3.0 | branch: master | Tristan Matthews <tmatth at videolan.org> | Wed May 15 11:54:35 2019 -0400| [e0ba0752e60fef648ad4ebbfab5b0cb4fe025240] | committer: Tristan Matthews

audio_output: increase allowed max sample rate to 384 kHz

Fixes #21925

(cherry picked from commit 45bd86364e1eafbd1aad5f803e836b18b5b6dcad)
Signed-off-by: Tristan Matthews <tmatth at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=e0ba0752e60fef648ad4ebbfab5b0cb4fe025240
---

 src/audio_output/dec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/audio_output/dec.c b/src/audio_output/dec.c
index 60c35e6176..c25f249fbf 100644
--- a/src/audio_output/dec.c
+++ b/src/audio_output/dec.c
@@ -58,7 +58,7 @@ int aout_DecNew( audio_output_t *p_aout,
         }
     }
 
-    if( p_format->i_rate > 352800 )
+    if( p_format->i_rate > 384000 )
     {
         msg_Err( p_aout, "excessive audio sample frequency (%u)",
                  p_format->i_rate );



More information about the vlc-commits mailing list