38 int s = 0, d = 0, url_len = 0;
45 url_len = strlen(url) + 1;
54 if (c ==
'%' && s + 2 < url_len) {
57 if (isxdigit(c2) && isxdigit(c3)) {
71 dest[d++] = 16 * c2 +
c3;
78 }
else if (c ==
'+') {
void * av_malloc(size_t size)
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...
memory handling functions
static int av_tolower(int c)
Locale-independent conversion of ASCII characters to lowercase.
char * ff_urldecode(const char *url)
Decodes an URL from its percent-encoded form back into normal representation.