[Mplayer-cvslog] CVS: main/libaf af_channels.c, 1.10, 1.11 af_pan.c, 1.2, 1.3
Jindrich Makovicka CVS
syncmail at mplayerhq.hu
Thu Mar 4 20:39:18 CET 2004
CVS change done by Jindrich Makovicka CVS
Update of /cvsroot/mplayer/main/libaf
In directory mail:/var2/tmp/cvs-serv9515
Modified Files:
af_channels.c af_pan.c
Log Message:
10l - replace 6 with AF_NCH
Index: af_channels.c
===================================================================
RCS file: /cvsroot/mplayer/main/libaf/af_channels.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- af_channels.c 2 Jan 2003 03:00:44 -0000 1.10
+++ af_channels.c 4 Mar 2004 19:39:16 -0000 1.11
@@ -171,7 +171,7 @@
// 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;
Index: af_pan.c
===================================================================
RCS file: /cvsroot/mplayer/main/libaf/af_pan.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- af_pan.c 31 Dec 2002 05:42:20 -0000 1.2
+++ af_pan.c 4 Mar 2004 19:39:16 -0000 1.3
@@ -96,7 +96,7 @@
// 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;
More information about the MPlayer-cvslog
mailing list