X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Furldecode.h;h=80b11c342869313eeded172cfeeb79fef2de557a;hb=2d8d554f15a7a27cfeca81467cc9341a86f784e2;hp=cb81ebc6f79f3f30db9b968c71199020f3779a45;hpb=c2631dfd0a0a12050cc1765fd41702c5e93abee5;p=ffmpeg diff --git a/libavformat/urldecode.h b/libavformat/urldecode.h index cb81ebc6f79..80b11c34286 100644 --- a/libavformat/urldecode.h +++ b/libavformat/urldecode.h @@ -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 */