diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-03-31 09:32:59 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-03-31 09:32:59 +0000 |
commit | 504ffed19f990f91237479be93480d9b597561e2 (patch) | |
tree | 0112de10541e64bca39496011f62f0284ee87470 /libavcodec/api-example.c | |
parent | cafe71c62d87955172dd6d8fcb277988f00e92e2 (diff) | |
download | ffmpeg-504ffed19f990f91237479be93480d9b597561e2.tar.gz |
Mark non-exported functions in test and example programs as static.
Originally committed as revision 18259 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/api-example.c')
-rw-r--r-- | libavcodec/api-example.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libavcodec/api-example.c b/libavcodec/api-example.c index 7f682cde30..2a47fea7f8 100644 --- a/libavcodec/api-example.c +++ b/libavcodec/api-example.c @@ -43,7 +43,7 @@ /* * Audio encoding example */ -void audio_encode_example(const char *filename) +static void audio_encode_example(const char *filename) { AVCodec *codec; AVCodecContext *c= NULL; @@ -111,7 +111,7 @@ void audio_encode_example(const char *filename) /* * Audio decoding. */ -void audio_decode_example(const char *outfilename, const char *filename) +static void audio_decode_example(const char *outfilename, const char *filename) { AVCodec *codec; AVCodecContext *c= NULL; @@ -186,7 +186,7 @@ void audio_decode_example(const char *outfilename, const char *filename) /* * Video encoding example */ -void video_encode_example(const char *filename) +static void video_encode_example(const char *filename) { AVCodec *codec; AVCodecContext *c= NULL; @@ -297,7 +297,8 @@ void video_encode_example(const char *filename) * Video decoding example */ -void pgm_save(unsigned char *buf,int wrap, int xsize,int ysize,char *filename) +static void pgm_save(unsigned char *buf, int wrap, int xsize, int ysize, + char *filename) { FILE *f; int i; @@ -309,7 +310,7 @@ void pgm_save(unsigned char *buf,int wrap, int xsize,int ysize,char *filename) fclose(f); } -void video_decode_example(const char *outfilename, const char *filename) +static void video_decode_example(const char *outfilename, const char *filename) { AVCodec *codec; AVCodecContext *c= NULL; |