mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-29 11:42:02 +08:00
avformat/urldecode: add the ability to not decode plus sign to space
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
@@ -26,10 +26,11 @@
|
||||
* in that case the original string is duplicated.
|
||||
*
|
||||
* @param url a string to be decoded.
|
||||
* @param decode_plus_sign if nonzero plus sign is decoded to space
|
||||
* @return new string with the URL decoded or NULL if decoding failed.
|
||||
* Note that the returned string should be explicitly freed when not
|
||||
* used anymore.
|
||||
*/
|
||||
char *ff_urldecode(const char *url);
|
||||
char *ff_urldecode(const char *url, int decode_plus_sign);
|
||||
|
||||
#endif /* AVFORMAT_URLDECODE_H */
|
||||
|
||||
Reference in New Issue
Block a user