Commit 04e01a35 authored by reimar's avatar reimar

Remove a pointless cast.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11819 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent bb72c275
...@@ -219,7 +219,7 @@ static int http_connect(URLContext *h, const char *path, const char *hoststr, ...@@ -219,7 +219,7 @@ static int http_connect(URLContext *h, const char *path, const char *hoststr,
/* send http header */ /* send http header */
post = h->flags & URL_WRONLY; post = h->flags & URL_WRONLY;
auth_b64 = av_malloc(auth_b64_len); auth_b64 = av_malloc(auth_b64_len);
av_base64_encode(auth_b64, auth_b64_len, (const uint8_t *)auth, strlen(auth)); av_base64_encode(auth_b64, auth_b64_len, auth, strlen(auth));
snprintf(s->buffer, sizeof(s->buffer), snprintf(s->buffer, sizeof(s->buffer),
"%s %s HTTP/1.1\r\n" "%s %s HTTP/1.1\r\n"
"User-Agent: %s\r\n" "User-Agent: %s\r\n"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment