From d30a992d155be51748f0922a65e33d0859cb9f96 Mon Sep 17 00:00:00 2001 From: henry Date: Thu, 4 Mar 2004 19:39:16 +0000 Subject: 10l - replace 6 with AF_NCH git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12009 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libaf/af_channels.c | 2 +- libaf/af_pan.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libaf') diff --git a/libaf/af_channels.c b/libaf/af_channels.c index c1dcf0f130..7849aa783a 100644 --- a/libaf/af_channels.c +++ b/libaf/af_channels.c @@ -171,7 +171,7 @@ 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] <= 0 || ((int*)arg)[0] > 6){ + if(((int*)arg)[0] <= 0 || ((int*)arg)[0] > AF_NCH){ af_msg(AF_MSG_ERROR,"[channels] The number of output channels must be" " between 1 and %i. Current value is %i\n",AF_NCH,((int*)arg)[0]); return AF_ERROR; diff --git a/libaf/af_pan.c b/libaf/af_pan.c index 8398e169cf..9427303eb2 100644 --- a/libaf/af_pan.c +++ b/libaf/af_pan.c @@ -96,7 +96,7 @@ 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] <= 0 || ((int*)arg)[0] > 6){ + if(((int*)arg)[0] <= 0 || ((int*)arg)[0] > AF_NCH){ af_msg(AF_MSG_ERROR,"[pan] The number of output channels must be" " between 1 and %i. Current value is %i\n",AF_NCH,((int*)arg)[0]); return AF_ERROR; -- cgit v1.2.3