git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae77c4b
)
Missing 'const' in cast.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sat, 2 Feb 2008 20:58:58 +0000
(20:58 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sat, 2 Feb 2008 20:58:58 +0000
(20:58 +0000)
Originally committed as revision 11814 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/http.c
patch
|
blob
|
history
diff --git
a/libavformat/http.c
b/libavformat/http.c
index
4dcc7d2
..
93f7b32
100644
(file)
--- 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"