[FFmpeg-cvslog] doc/examples: make fill_samples static.
Clément Bœsch
git at videolan.org
Thu Nov 28 14:09:34 CET 2013
ffmpeg | branch: master | Clément Bœsch <clement at stupeflix.com> | Thu Nov 28 13:54:44 2013 +0100| [a8ac2a15303021d39960ff822f58c90e69a5c6fb] | committer: Clément Bœsch
doc/examples: make fill_samples static.
This is required to build with FFmpeg compilation options.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a8ac2a15303021d39960ff822f58c90e69a5c6fb
---
doc/examples/resampling_audio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/examples/resampling_audio.c b/doc/examples/resampling_audio.c
index 70db9ef..f9bfb92 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;
More information about the ffmpeg-cvslog
mailing list