]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/http.c
Typo
[ffmpeg] / libavformat / http.c
index 4dcc7d2548a8880aa442707a65a8d314473f9bbc..1d542061bdc388ffe474afa500f289aa39df528d 100644 (file)
@@ -219,7 +219,7 @@ static int http_connect(URLContext *h, const char *path, const char *hoststr,
     /* send http header */
     post = h->flags & URL_WRONLY;
     auth_b64 = av_malloc(auth_b64_len);
-    av_base64_encode(auth_b64, auth_b64_len, (uint8_t *)auth, strlen(auth));
+    av_base64_encode(auth_b64, auth_b64_len, auth, strlen(auth));
     snprintf(s->buffer, sizeof(s->buffer),
              "%s %s HTTP/1.1\r\n"
              "User-Agent: %s\r\n"