Mercurial > libavformat.hg
diff http.c @ 683:095009fc2f35 libavformat
kill warnings patch by (M?ns Rullg?rd <mru inprovide com>)
| author | michael |
|---|---|
| date | Thu, 24 Feb 2005 19:08:50 +0000 |
| parents | 0b52743104ac |
| children | da1d5db0ce5c |
line wrap: on
line diff
--- a/http.c Thu Feb 24 15:18:02 2005 +0000 +++ b/http.c Thu Feb 24 19:08:50 2005 +0000 @@ -49,7 +49,7 @@ static int http_connect(URLContext *h, const char *path, const char *hoststr, const char *auth); static int http_write(URLContext *h, uint8_t *buf, int size); -static char *b64_encode( unsigned char *src ); +static char *b64_encode(const unsigned char *src ); /* return non zero if error */ @@ -287,7 +287,7 @@ * b64_encode: stolen from VLC's http.c *****************************************************************************/ -static char *b64_encode( unsigned char *src ) +static char *b64_encode( const unsigned char *src ) { static const char b64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; unsigned int len= strlen(src);
