Paul B Mahol
be60dc2145
avutil/avsscanf: do not use long double functions
...
Not needed when only double is used.
2018-12-15 09:58:28 +01:00
Paul B Mahol
7d70f09307
avutil/avsscanf: do not use unsupported p suffix for hex variable
2018-11-22 10:09:05 +01:00
Paul B Mahol
277fd9c2ac
avutil/avsscanf: use ptrdiff_t instead of off_t
2018-11-19 15:16:36 +01:00
Carl Eugen Hoyos
529debc987
lavu/avsscanf: Do not mix declaration and code.
...
Fixes the following warning:
libavutil/avsscanf.c: In function 'decfloat':
libavutil/avsscanf.c:354:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
int bitlim = bits-3*(int)(rp-9);
^~~
2018-11-18 03:51:42 +01:00
Paul B Mahol
4b30726dd3
lavu: add locale-independent sscanf implementation
...
Copied and adopted from musl implementation.
* converted all 'long double' to 'double'
* removed %m support
2018-11-16 20:24:52 +01:00