From c63378d41cdb004bac8e400bef8f3e73c5123de7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 26 Jun 2014 17:56:47 +0200 Subject: 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. --- player/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player/core.h') 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); -- cgit v1.2.3