Mercurial > mplayer.hg
view mp-opt-reg.c @ 7293:0d7942100437
- simpler http_response_append (uses realloc())
- http_response_append addes extra 0 byte to close teh string
(some functions like http_is_header_entire() use standard string
functions like strstr which requires trailing zero)
- check for NULL string in http_is_header_entire()
author | arpi |
---|---|
date | Fri, 06 Sep 2002 00:03:16 +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); }