]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/avstring.h
Merge commit 'c12c085be7e86880924249e5cb3f898e45dee134'
[ffmpeg] / libavutil / avstring.h
index a306e8974d6635206a18a504ac764f5d62686ac3..a46d012552f22dece95afa546acca6df76b2c804 100644 (file)
@@ -339,6 +339,7 @@ enum AVEscapeMode {
  * @return the length of the allocated string, or a negative error code in case of error
  * @see av_bprint_escape()
  */
+av_warn_unused_result
 int av_escape(char **dst, const char *src, const char *special_chars,
               enum AVEscapeMode mode, int flags);
 
@@ -378,6 +379,7 @@ int av_escape(char **dst, const char *src, const char *special_chars,
  * @return >= 0 in case a sequence was successfully read, a negative
  * value in case of invalid sequence
  */
+av_warn_unused_result
 int av_utf8_decode(int32_t *codep, const uint8_t **bufp, const uint8_t *buf_end,
                    unsigned int flags);