diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-30 13:53:40 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-30 13:53:40 +0000 |
commit | c5d5fe98b24e7e9e34b06b88d5d9ae212ea74974 (patch) | |
tree | d796c025c142c308510103ecf1c9b41c27ff7d69 /TOOLS/movinfo.c | |
parent | 089034fcd5a181fd34c4c9ed37677b8bb89a6d2e (diff) | |
download | mpv-c5d5fe98b24e7e9e34b06b88d5d9ae212ea74974.tar.bz2 mpv-c5d5fe98b24e7e9e34b06b88d5d9ae212ea74974.tar.xz |
Mark all functions that are only used within the file as static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26607 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TOOLS/movinfo.c')
-rw-r--r-- | TOOLS/movinfo.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/TOOLS/movinfo.c b/TOOLS/movinfo.c index 6e997b532b..7157573e37 100644 --- a/TOOLS/movinfo.c +++ b/TOOLS/movinfo.c @@ -22,7 +22,7 @@ #undef NO_SPECIAL -char *atom2human_type(int type) +static char *atom2human_type(int type) { switch (type) { @@ -57,13 +57,13 @@ int stream = S_NONE; int v_stream = 0; int a_stream = 0; -unsigned int read_dword(FILE *f){ +static unsigned int read_dword(FILE *f){ unsigned char atom_size_b[4]; if(fread(&atom_size_b,4,1,f)<=0) return -1; return (atom_size_b[0]<<24)|(atom_size_b[1]<<16)|(atom_size_b[2]<<8)|atom_size_b[3]; } -void video_stream_info(FILE *f, int len) +static void video_stream_info(FILE *f, int len) { int orig_pos = ftell(f); unsigned char data[len-8]; @@ -79,7 +79,7 @@ void video_stream_info(FILE *f, int len) fseek(f,orig_pos,SEEK_SET); } -void audio_stream_info(FILE *f, int len) +static void audio_stream_info(FILE *f, int len) { int orig_pos = ftell(f); unsigned char data[len-8]; @@ -98,7 +98,7 @@ void audio_stream_info(FILE *f, int len) fseek(f,orig_pos,SEEK_SET); } -void userdata_info(FILE *f, int len, int pos, int level) +static void userdata_info(FILE *f, int len, int pos, int level) { int orig_pos = pos; /*ftell(f);*/ unsigned int atom_size = 1; @@ -153,7 +153,7 @@ void userdata_info(FILE *f, int len, int pos, int level) int time_scale = 0; -void lschunks(FILE *f,int level,unsigned int endpos){ +static void lschunks(FILE *f,int level,unsigned int endpos){ unsigned int atom_size; unsigned int atom_type; int pos; |