[MPlayer-cvslog] CVS: main/libaf af_format.c,1.15,1.16

Reimar Döffinger CVS syncmail at mplayerhq.hu
Sat Nov 20 11:32:54 CET 2004


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libaf
In directory mail:/var2/tmp/cvs-serv29369/libaf

Modified Files:
	af_format.c 
Log Message:
declare check_format and check_bps static, they are used nowhere else.


Index: af_format.c
===================================================================
RCS file: /cvsroot/mplayer/main/libaf/af_format.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- af_format.c	18 May 2004 19:13:15 -0000	1.15
+++ af_format.c	20 Nov 2004 10:32:52 -0000	1.16
@@ -130,7 +130,7 @@
 // Helper functions to check sanity for input arguments
 
 // Sanity check for bytes per sample
-int check_bps(int bps)
+static int check_bps(int bps)
 {
   if(bps != 4 && bps != 3 && bps != 2 && bps != 1){
     af_msg(AF_MSG_ERROR,"[format] The number of bytes per sample" 
@@ -141,7 +141,7 @@
 }
 
 // Check for unsupported formats
-int check_format(int format)
+static int check_format(int format)
 {
   char buf[256];
   switch(format & AF_FORMAT_SPECIAL_MASK){




More information about the MPlayer-cvslog mailing list