mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 15:52:25 +00:00
player: check for null in resume config search
Signed-off-by: wm4 <wm4@nowhere> CC: @mpv-player/stable
This commit is contained in:
parent
5c3f3fd3da
commit
eba8eeda78
@ -200,7 +200,8 @@ static char *mp_get_playback_resume_config_filename(struct mpv_global *global,
|
||||
|
||||
if (!res) {
|
||||
res = mp_find_config_file(tmp, global, MP_WATCH_LATER_CONF);
|
||||
res = talloc_asprintf(NULL, "%s/%s", res, conf);
|
||||
if (res)
|
||||
res = talloc_asprintf(NULL, "%s/%s", res, conf);
|
||||
}
|
||||
|
||||
exit:
|
||||
|
Loading…
Reference in New Issue
Block a user