summaryrefslogtreecommitdiff
path: root/libavformat/http.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-02-02 20:58:58 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-02-02 20:58:58 +0000
commitb630a39ecd43a4bdb01d0025c044ce89ad9d0053 (patch)
treedb1ffac9f99c28f3d5ebba5758b144a2a593bd4b /libavformat/http.c
parentae77c4b0071e0e2f2d98958d52423880fc87429f (diff)
Missing 'const' in cast.
Originally committed as revision 11814 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/http.c')
-rw-r--r--libavformat/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/http.c b/libavformat/http.c
index 4dcc7d2548..93f7b323c6 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, (uint8_t *)auth, strlen(auth));
+ av_base64_encode(auth_b64, auth_b64_len, (const uint8_t *)auth, strlen(auth));
snprintf(s->buffer, sizeof(s->buffer),
"%s %s HTTP/1.1\r\n"
"User-Agent: %s\r\n"