FFmpeg
|
#include <string.h>
#include "libavutil/mem.h"
#include "libavutil/avstring.h"
#include "urldecode.h"
Go to the source code of this file.
Functions | |
char * | ff_urldecode (const char *url, int decode_plus_sign) |
Decodes an URL from its percent-encoded form back into normal representation. More... | |
char* ff_urldecode | ( | const char * | url, |
int | decode_plus_sign | ||
) |
Decodes an URL from its percent-encoded form back into normal representation.
This function returns the decoded URL in a string. The URL to be decoded does not necessarily have to be encoded but in that case the original string is duplicated.
url | a string to be decoded. |
decode_plus_sign | if nonzero plus sign is decoded to space |
Definition at line 35 of file urldecode.c.
Referenced by amqp_proto_open(), ff_http_auth_create_response(), ftp_connect(), and libsrt_open().