[FFmpeg-cvslog] r11819 - trunk/libavformat/http.c

reimar subversion
Sat Feb 2 23:03:01 CET 2008


Author: reimar
Date: Sat Feb  2 23:03:01 2008
New Revision: 11819

Log:
Remove a pointless cast.


Modified:
   trunk/libavformat/http.c

Modified: trunk/libavformat/http.c
==============================================================================
--- trunk/libavformat/http.c	(original)
+++ trunk/libavformat/http.c	Sat Feb  2 23:03:01 2008
@@ -219,7 +219,7 @@ static int http_connect(URLContext *h, c
     /* 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"




More information about the ffmpeg-cvslog mailing list