aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-10-09 00:32:08 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-10-09 00:32:39 +0200
commit7ba7b96dd36b7a9bab39bffd22df011fe3c90088 (patch)
treeea052e980b5cba4dc9919faf4f3bcf29afa80f7e
parent3e5e5bdfef07526aa5c6b15e0484bdc51289cad9 (diff)
downloadffmpeg-7ba7b96dd36b7a9bab39bffd22df011fe3c90088.tar.gz
doc/examples/http_multiclient: Fix "doc/examples/http_multiclient.c:43:9: warning: passing argument 4 of av_opt_get from incompatible pointer type"
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--doc/examples/http_multiclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/http_multiclient.c b/doc/examples/http_multiclient.c
index dde39f0adb..7173c4db32 100644
--- a/doc/examples/http_multiclient.c
+++ b/doc/examples/http_multiclient.c
@@ -38,7 +38,7 @@ static void process_client(AVIOContext *client, const char *in_uri)
AVIOContext *input = NULL;
uint8_t buf[1024];
int ret, n, reply_code;
- char *resource = NULL;
+ uint8_t *resource = NULL;
while ((ret = avio_handshake(client)) > 0) {
av_opt_get(client, "resource", AV_OPT_SEARCH_CHILDREN, &resource);
// check for strlen(resource) is necessary, because av_opt_get()