aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/avstring.h
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-11-11 17:39:33 +0100
committerPaul B Mahol <onemda@gmail.com>2018-11-16 20:24:52 +0100
commit4b30726dd39f779a69955c63811efb99b715bed1 (patch)
tree8a90cdaea251815310a76a4f1fdb90a615ff8f4a /libavutil/avstring.h
parent7a73cca2546af87d2699b4773419eb228983c2a4 (diff)
downloadffmpeg-4b30726dd39f779a69955c63811efb99b715bed1.tar.gz
lavu: add locale-independent sscanf implementation
Copied and adopted from musl implementation. * converted all 'long double' to 'double' * removed %m support
Diffstat (limited to 'libavutil/avstring.h')
-rw-r--r--libavutil/avstring.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/avstring.h b/libavutil/avstring.h
index 04d2695640..37dd4e2da0 100644
--- a/libavutil/avstring.h
+++ b/libavutil/avstring.h
@@ -401,6 +401,12 @@ int av_utf8_decode(int32_t *codep, const uint8_t **bufp, const uint8_t *buf_end,
int av_match_list(const char *name, const char *list, char separator);
/**
+ * See libc sscanf manual for more information.
+ * Locale-independent sscanf implementation.
+ */
+int av_sscanf(const char *string, const char *format, ...);
+
+/**
* @}
*/