From 4cff38d7573c70da7dfc808dc6a97538b0922cc0 Mon Sep 17 00:00:00 2001 From: diego Date: Thu, 1 May 2008 15:10:44 +0000 Subject: [PATCH] =?utf8?q?Mark=20symbols=20as=20static,=20patch=20by=20Die?= =?utf8?q?go=20'Flameeyes'=20Petten=C3=B2,=20flameeyes=20gmail=20com?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13025 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- ffplay.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ffplay.c b/ffplay.c index 2e194afb3..87aff3d20 100644 --- a/ffplay.c +++ b/ffplay.c @@ -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:"; -- 2.39.2