Commit 56f81d71 authored by Antoine Cellerier's avatar Antoine Cellerier

modules/misc/rtsp.c is using us_strtod

parent 9e90e119
......@@ -52,7 +52,7 @@ VLC_EXPORT( char *, __vlc_fix_readdir_charset, ( vlc_object_t *, const char * )
extern double i18n_strtod( const char *, char ** );
extern double i18n_atof( const char * );
extern double us_strtod( const char *, char ** );
VLC_EXPORT( double, us_strtod, ( const char *, char ** ) );
VLC_EXPORT( double, us_atof, ( const char * ) );
# ifdef __cplusplus
......
......@@ -477,6 +477,8 @@ struct module_symbols_t
vlm_media_t* (*vlm_MediaSearch_inner) (vlm_t *, const char *);
int (*playlist_TreeMove_inner) (playlist_t *, playlist_item_t *, playlist_item_t *, int, int);
const char * (*config_GetDataDir_inner) (const vlc_object_t *);
double (*us_atof_inner) (const char *);
double (*us_strtod_inner) (const char *, char **);
};
# if defined (__PLUGIN__)
# define aout_FiltersCreatePipeline (p_symbols)->aout_FiltersCreatePipeline_inner
......@@ -934,6 +936,8 @@ struct module_symbols_t
# define vlm_MediaSearch (p_symbols)->vlm_MediaSearch_inner
# define playlist_TreeMove (p_symbols)->playlist_TreeMove_inner
# define config_GetDataDir (p_symbols)->config_GetDataDir_inner
# define us_atof (p_symbols)->us_atof_inner
# define us_strtod (p_symbols)->us_strtod_inner
# elif defined (HAVE_DYNAMIC_PLUGINS) && !defined (__BUILTIN__)
/******************************************************************
* STORE_SYMBOLS: store VLC APIs into p_symbols for plugin access.
......@@ -1394,6 +1398,8 @@ struct module_symbols_t
((p_symbols)->vlm_MediaSearch_inner) = vlm_MediaSearch; \
((p_symbols)->playlist_TreeMove_inner) = playlist_TreeMove; \
((p_symbols)->config_GetDataDir_inner) = config_GetDataDir; \
((p_symbols)->us_atof_inner) = us_atof; \
((p_symbols)->us_strtod_inner) = us_strtod; \
(p_symbols)->net_ConvertIPv4_deprecated = NULL; \
(p_symbols)->__stats_CounterGet_deprecated = NULL; \
(p_symbols)->__stats_TimerDumpAll_deprecated = NULL; \
......
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