Mercurial > mplayer.hg
diff libaf/af_format.c @ 13989:dcb6b4a33aaa
declare check_format and check_bps static, they are used nowhere else.
author | reimar |
---|---|
date | Sat, 20 Nov 2004 10:32:52 +0000 |
parents | e02a261e4c92 |
children | 815f03b7cee5 |
line wrap: on
line diff
--- a/libaf/af_format.c Fri Nov 19 23:05:56 2004 +0000 +++ b/libaf/af_format.c Sat Nov 20 10:32:52 2004 +0000 @@ -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){