doc/examples/http_multiclient: Fix "doc/examples/http_multiclient.c:43:9: warning...
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 8 Oct 2016 22:32:08 +0000 (00:32 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 8 Oct 2016 22:32:39 +0000 (00:32 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
doc/examples/http_multiclient.c

index dde39f0..7173c4d 100644 (file)
@@ -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()