mirror of https://github.com/mpv-player/mpv
player: check for null in resume config search
Signed-off-by: wm4 <wm4@nowhere> CC: @mpv-player/stable
This commit is contained in:
parent
1871f2a703
commit
0ba2da8a76
|
@ -200,6 +200,7 @@ 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);
|
||||
if (res)
|
||||
res = talloc_asprintf(NULL, "%s/%s", res, conf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue