Mercurial > mplayer.hg
diff libass/ass_utils.h @ 28717:7bbe6626f0e0
Support fractional arguments for some override tags.
Done by parsing all integers as doubles first and then converting them to the
nearest integer. Patch by Grigori G (greg chown ath cx).
author | eugeni |
---|---|
date | Fri, 27 Feb 2009 23:06:47 +0000 |
parents | 588ce97b44f2 |
children | e3b5070f671d |
line wrap: on
line diff
--- a/libass/ass_utils.h Fri Feb 27 23:06:43 2009 +0000 +++ b/libass/ass_utils.h Fri Feb 27 23:06:47 2009 +0000 @@ -26,6 +26,7 @@ #include <stdint.h> int mystrtoi(char** p, int base, int* res); +int mystrtoll(char** p, int base, long long* res); int mystrtou32(char** p, int base, uint32_t* res); int mystrtod(char** p, double* res); int strtocolor(char** q, uint32_t* res);