diff options
author | wm4 <wm4@nowhere> | 2014-06-26 17:56:47 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-06-26 19:37:26 +0200 |
commit | c63378d41cdb004bac8e400bef8f3e73c5123de7 (patch) | |
tree | 08e396fe81823943bb5f25f4ddfbec0250e46045 /player/core.h | |
parent | cb250d490c14872f03bb0320179e48d05fe2539d (diff) | |
download | mpv-c63378d41cdb004bac8e400bef8f3e73c5123de7.tar.bz2 mpv-c63378d41cdb004bac8e400bef8f3e73c5123de7.tar.xz |
player: remove some minor code duplication in config loader code
It's better to keep the logic in one place.
Also drop that a broken config file aborts loading of the player. I
don't see much reason for this, and it inflates the code slightly.
Diffstat (limited to 'player/core.h')
-rw-r--r-- | player/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/core.h b/player/core.h index e3d84f4ed9..4a52424ca9 100644 --- a/player/core.h +++ b/player/core.h @@ -363,7 +363,7 @@ void clear_audio_output_buffers(struct MPContext *mpctx); void clear_audio_decode_buffers(struct MPContext *mpctx); // configfiles.c -bool mp_parse_cfgfiles(struct MPContext *mpctx); +void mp_parse_cfgfiles(struct MPContext *mpctx); void mp_load_auto_profiles(struct MPContext *mpctx); void mp_get_resume_defaults(struct MPContext *mpctx); void mp_load_playback_resume(struct MPContext *mpctx, const char *file); |