Mercurial > libavformat.hg
diff http.c @ 3001:78d61e1a8496 libavformat
Remove a pointless cast.
| author | reimar |
|---|---|
| date | Sat, 02 Feb 2008 22:03:01 +0000 |
| parents | dea83239a88d |
| children | 6f61c3b36632 |
line wrap: on
line diff
--- a/http.c Sat Feb 02 21:17:46 2008 +0000 +++ b/http.c Sat Feb 02 22:03:01 2008 +0000 @@ -219,7 +219,7 @@ /* send http header */ post = h->flags & URL_WRONLY; 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), "%s %s HTTP/1.1\r\n" "User-Agent: %s\r\n"
