[vlc-commits] audio_output: increase allowed max sample rate to 384 kHz
Tristan Matthews
git at videolan.org
Thu May 16 14:29:49 CEST 2019
vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Wed May 15 11:54:35 2019 -0400| [45bd86364e1eafbd1aad5f803e836b18b5b6dcad] | committer: Tristan Matthews
audio_output: increase allowed max sample rate to 384 kHz
Fixes #21925
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=45bd86364e1eafbd1aad5f803e836b18b5b6dcad
---
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 91f9ccf2fe..e0c9f32b7e 100644
--- a/src/audio_output/dec.c
+++ b/src/audio_output/dec.c
@@ -72,7 +72,7 @@ int aout_DecNew(audio_output_t *p_aout, const audio_sample_format_t *p_format,
}
}
- 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