Commit 4b30726d authored by Paul B Mahol's avatar Paul B Mahol

lavu: add locale-independent sscanf implementation

Copied and adopted from musl implementation.
 * converted all 'long double' to 'double'
 * removed %m support
parent 7a73cca2
......@@ -94,6 +94,7 @@ OBJS = adler32.o \
aes_ctr.o \
audio_fifo.o \
avstring.o \
avsscanf.o \
base64.o \
blowfish.o \
bprint.o \
......
This diff is collapsed.
......@@ -400,6 +400,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, ...);
/**
* @}
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment