mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 09:32:40 +00:00
066ecfcbfb
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. |
||
---|---|---|
.. | ||
asxparser.c | ||
asxparser.h | ||
av_common.c | ||
av_common.h | ||
av_log.c | ||
av_log.h | ||
av_opts.c | ||
av_opts.h | ||
codecs.c | ||
codecs.h | ||
common.c | ||
common.h | ||
cpudetect.c | ||
cpudetect.h | ||
encode_lavc.c | ||
encode_lavc.h | ||
encode.h | ||
global.h | ||
msg.c | ||
msg.h | ||
playlist_parser.c | ||
playlist_parser.h | ||
playlist.c | ||
playlist.h | ||
version.c |