1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 23:02:37 +00:00

player: fix minor coding style issue

This commit is contained in:
wm4 2020-01-26 14:29:48 +01:00
parent 1ae17074bd
commit 48880d827d

View File

@ -431,7 +431,8 @@ void mp_load_playback_resume(struct MPContext *mpctx, const char *file)
char *fname = mp_get_playback_resume_config_filename(mpctx, file);
if (fname && mp_path_exists(fname)) {
if (mpctx->opts->position_check_mtime &&
!mp_is_url(bstr0(file)) && !check_mtime(file, fname)) {
!mp_is_url(bstr0(file)) && !check_mtime(file, fname))
{
talloc_free(fname);
return;
}