summaryrefslogtreecommitdiffstats
path: root/libaf
diff options
context:
space:
mode:
Diffstat (limited to 'libaf')
-rw-r--r--libaf/af_resample.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libaf/af_resample.c b/libaf/af_resample.c
index b9c45e32b2..7230c42f21 100644
--- a/libaf/af_resample.c
+++ b/libaf/af_resample.c
@@ -267,8 +267,8 @@ static int control(struct af_instance_s* af, int cmd, void* arg)
// Reinit must be called after this function has been called
// Sanity check
- if(((int*)arg)[0] < 2000 || ((int*)arg)[0] > 192000){
- mp_msg(MSGT_AFILTER,MSGL_ERR,"[resample] The output sample frequency must be between 2kHz and 192kHz. Current value is %i \n",((int*)arg)[0]);
+ if(((int*)arg)[0] < 8000 || ((int*)arg)[0] > 192000){
+ mp_msg(MSGT_AFILTER,MSGL_ERR,"[resample] The output sample frequency must be between 8kHz and 192kHz. Current value is %i \n",((int*)arg)[0]);
return AF_ERROR;
}