[FFmpeg-cvslog] doc/examples/http_multiclient: fix compilation

Clément Bœsch git at videolan.org
Fri Sep 30 20:40:38 EEST 2016


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Fri Sep 30 19:33:03 2016 +0200| [fb5e58cd773e1b8a897b689fc048efc4eca5cde9] | committer: Clément Bœsch

doc/examples/http_multiclient: fix compilation

Fixes error: no previous prototype for ‘process_client’ [-Werror=missing-prototypes]

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fb5e58cd773e1b8a897b689fc048efc4eca5cde9
---

 doc/examples/http_multiclient.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/examples/http_multiclient.c b/doc/examples/http_multiclient.c
index b9a306d..a48d36f 100644
--- a/doc/examples/http_multiclient.c
+++ b/doc/examples/http_multiclient.c
@@ -33,7 +33,7 @@
 #include <libavutil/opt.h>
 #include <unistd.h>
 
-void process_client(AVIOContext *client, const char *in_uri)
+static void process_client(AVIOContext *client, const char *in_uri)
 {
     AVIOContext *input = NULL;
     uint8_t buf[1024];



More information about the ffmpeg-cvslog mailing list