aboutsummaryrefslogtreecommitdiffhomepage
path: root/libaf
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-11-20 10:32:52 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-11-20 10:32:52 +0000
commitb74edb423dd36e6da605d656515e608f4600bda6 (patch)
treec31b0f2813bcb04e1af63a0c2df5f3e52790cd25 /libaf
parenteb38fd12c2b52bffe58ebb00ad1f727155145338 (diff)
declare check_format and check_bps static, they are used nowhere else.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13990 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf')
-rw-r--r--libaf/af_format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libaf/af_format.c b/libaf/af_format.c
index a908ed0862..8ad80046f9 100644
--- a/libaf/af_format.c
+++ b/libaf/af_format.c
@@ -130,7 +130,7 @@ char* fmt2str(int format, char* str, size_t size)
// 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 @@ int check_bps(int bps)
}
// Check for unsupported formats
-int check_format(int format)
+static int check_format(int format)
{
char buf[256];
switch(format & AF_FORMAT_SPECIAL_MASK){