Mercurial > mplayer.hg
view mp-opt-reg.c @ 7611:411886c03c54
strtod is locale-dependant, so it may only accept either '.' or ',' as decimal point,
we do now make sure both works by providing a fallback.
If anyone knows a better/simpler algorithmn than I used, feel free to improve.
author | atmos4 |
---|---|
date | Sun, 06 Oct 2002 05:54:12 +0000 |
parents | b65b78640d49 |
children |
line wrap: on
line source
#include "config.h" #include <stdlib.h> #include <stdio.h> #include "cfgparser.h" extern void mp_input_register_options(m_config_t* cfg); extern void libmpdemux_register_options(m_config_t* cfg); extern void libvo_register_options(m_config_t* cfg); void mp_register_options(m_config_t* cfg) { mp_input_register_options(cfg); libmpdemux_register_options(cfg); libvo_register_options(cfg); }