[FFmpeg-cvslog] doc/examples/http_multiclient: Fix "doc/examples/http_multiclient.c:43:9: warning: passing argument 4 of av_opt_get from incompatible pointer type"
Michael Niedermayer
git at videolan.org
Sun Oct 9 02:38:55 EEST 2016
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun Oct 9 00:32:08 2016 +0200| [7ba7b96dd36b7a9bab39bffd22df011fe3c90088] | committer: Michael Niedermayer
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 at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7ba7b96dd36b7a9bab39bffd22df011fe3c90088
---
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 dde39f0..7173c4d 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()
More information about the ffmpeg-cvslog
mailing list