OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
352ca77
)
doc/examples/http_multiclient: fix compilation
author
Clément Bœsch
<u@pkh.me>
Fri, 30 Sep 2016 17:33:03 +0000
(19:33 +0200)
committer
Clément Bœsch
<u@pkh.me>
Fri, 30 Sep 2016 17:35:52 +0000
(19:35 +0200)
Fixes error: no previous prototype for ‘process_client’ [-Werror=missing-prototypes]
doc/examples/http_multiclient.c
patch
|
blob
|
history
diff --git
a/doc/examples/http_multiclient.c
b/doc/examples/http_multiclient.c
index
b9a306d
..
a48d36f
100644
(file)
--- 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];