diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-02-02 22:03:01 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-02-02 22:03:01 +0000 |
commit | 2907abed17223af7223fafef8a192e44847ba5bf (patch) | |
tree | d6405b523427e96308738efdc86fe3f2e1fc7014 | |
parent | b3d5468d87a6e37a41a2c0f504321452de5f845c (diff) | |
download | ffmpeg-2907abed17223af7223fafef8a192e44847ba5bf.tar.gz |
Remove a pointless cast.
Originally committed as revision 11819 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/http.c b/libavformat/http.c index 93f7b323c6..1d542061bd 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -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, (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" |