aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/resampling_audio.c
diff options
context:
space:
mode:
authorClément Bœsch <clement@stupeflix.com>2013-11-28 13:54:44 +0100
committerClément Bœsch <clement@stupeflix.com>2013-11-28 13:54:44 +0100
commita8ac2a15303021d39960ff822f58c90e69a5c6fb (patch)
tree9e27a4b1c718190680bac6ef92d930fa3515391c /doc/examples/resampling_audio.c
parent245931885f262fa9d83bbe915be29553fa82b8aa (diff)
downloadffmpeg-a8ac2a15303021d39960ff822f58c90e69a5c6fb.tar.gz
doc/examples: make fill_samples static.
This is required to build with FFmpeg compilation options.
Diffstat (limited to 'doc/examples/resampling_audio.c')
-rw-r--r--doc/examples/resampling_audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/resampling_audio.c b/doc/examples/resampling_audio.c
index 70db9efe05..f9bfb92cfd 100644
--- a/doc/examples/resampling_audio.c
+++ b/doc/examples/resampling_audio.c
@@ -62,7 +62,7 @@ static int get_format_from_sample_fmt(const char **fmt,
/**
* Fill dst buffer with nb_samples, generated starting from t.
*/
-void fill_samples(double *dst, int nb_samples, int nb_channels, int sample_rate, double *t)
+static void fill_samples(double *dst, int nb_samples, int nb_channels, int sample_rate, double *t)
{
int i, j;
double tincr = 1.0 / sample_rate, *dstp = dst;