]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/urldecode.h
avutil/mem: Also poison new av_realloc-allocated blocks
[ffmpeg] / libavformat / urldecode.h
index cb81ebc6f79f3f30db9b968c71199020f3779a45..80b11c342869313eeded172cfeeb79fef2de557a 100644 (file)
  * 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 */