diff options
author | Diego Pettenò <flameeyes@gmail.com> | 2008-05-01 15:10:44 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-05-01 15:10:44 +0000 |
commit | 358061f62fa4dd20ffc13f52f2c5e884450ee964 (patch) | |
tree | c9e53e98e5d774e1ab6f9a54fcb92d39086a64b1 /ffplay.c | |
parent | cdfec9c02a8241e5796078554d78a22d763a510e (diff) | |
download | ffmpeg-358061f62fa4dd20ffc13f52f2c5e884450ee964.tar.gz |
Mark symbols as static, patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com
Originally committed as revision 13025 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -169,7 +169,7 @@ typedef struct VideoState { int width, height, xleft, ytop; } VideoState; -void show_help(void); +static void show_help(void); static int audio_write_get_buf_size(VideoState *is); /* options specified by the user */ @@ -1645,7 +1645,7 @@ static int audio_write_get_buf_size(VideoState *is) /* prepare a new audio buffer */ -void sdl_audio_callback(void *opaque, Uint8 *stream, int len) +static void sdl_audio_callback(void *opaque, Uint8 *stream, int len) { VideoState *is = opaque; int audio_size, len1; @@ -2438,7 +2438,7 @@ static void opt_show_help(void) exit(0); } -const OptionDef options[] = { +static const OptionDef options[] = { { "h", 0, {(void*)opt_show_help}, "show help" }, { "x", HAS_ARG | OPT_FUNC2, {(void*)opt_width}, "force displayed width", "width" }, { "y", HAS_ARG | OPT_FUNC2, {(void*)opt_height}, "force displayed height", "height" }, @@ -2472,7 +2472,7 @@ const OptionDef options[] = { { NULL, }, }; -void show_help(void) +static void show_help(void) { printf("usage: ffplay [options] input_file\n" "Simple media player\n"); @@ -2495,7 +2495,7 @@ void show_help(void) ); } -void opt_input_file(const char *filename) +static void opt_input_file(const char *filename) { if (!strcmp(filename, "-")) filename = "pipe:"; |