mpv/options
wm4 066ecfcbfb common: simplify and optimize string escape parsing
This code is shared between input.conf parser and option parser. Until
now, the performance didn't really matter. But I want to use this code
for JSON parsing too, and since JSON will have to be parsed a lot, it
should probably try to avoid realloc'ing too much.

This commit moves parsing of C-style escaped strings into a common
function, and allows using it in a way realloc can be completely
avoided, if the already allocated buffer is large enough.
2013-12-30 22:49:50 +01:00
..
m_config.c options: print any options set in verbose mode 2013-12-23 17:30:19 +01:00
m_config.h m_option, m_config: mp_msg conversions 2013-12-21 21:05:02 +01:00
m_option.c common: simplify and optimize string escape parsing 2013-12-30 22:49:50 +01:00
m_option.h options: simplify handling of some help options 2013-12-26 19:25:51 +01:00
m_property.c m_option, m_config: mp_msg conversions 2013-12-21 21:05:02 +01:00
m_property.h m_property: mp_msg conversions 2013-12-21 21:04:21 +01:00
options.c vd_lavc: by default, output all frames, even corrupted ones 2013-12-29 14:19:22 +01:00
options.h vd_lavc: by default, output all frames, even corrupted ones 2013-12-29 14:19:22 +01:00
parse_commandline.c msg: remove global state 2013-12-21 23:11:12 +01:00
parse_commandline.h msg: remove global state 2013-12-21 23:11:12 +01:00
parse_configfile.c options: some more mp_msg conversions 2013-12-21 21:43:16 +01:00
parse_configfile.h
path.c path: add function to split URL into prefix and path 2013-12-22 23:25:10 +01:00
path.h path: add function to split URL into prefix and path 2013-12-22 23:25:10 +01:00