]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/avstring.h
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavutil / avstring.h
index 04d11973867a16234e2a440717f54be96a01e829..662af6b70d45d2f3807d11b26d7098cb3b8be13f 100644 (file)
@@ -22,6 +22,7 @@
 #define AVUTIL_AVSTRING_H
 
 #include <stddef.h>
+#include "attributes.h"
 
 /**
  * Return non-zero if pfx is a prefix of str. If it is, *ptr is set to
@@ -107,7 +108,7 @@ size_t av_strlcat(char *dst, const char *src, size_t size);
  * @return the length of the string that would have been generated
  *  if enough space had been available
  */
-size_t av_strlcatf(char *dst, size_t size, const char *fmt, ...);
+size_t av_strlcatf(char *dst, size_t size, const char *fmt, ...) av_printf_format(3, 4);
 
 /**
  * Convert a number to a av_malloced string.