1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-27 01:53:32 +00:00

stream/stream_dvdnav: don't ignore setting title

Probably a typo in 5e30e7a04.
Fixes #4283
This commit is contained in:
Ricardo Constantino 2017-03-29 02:14:39 +01:00
parent 07ee7fb2c3
commit 7fe7583a7f
No known key found for this signature in database
GPG Key ID: EFD16019AE4FF531

View File

@ -530,7 +530,7 @@ static int open_s(stream_t *stream)
priv->track = TITLE_MENU;
} else if (title.len) {
bstr rest;
priv->title = bstrtoll(title, &rest, 10);
priv->track = bstrtoll(title, &rest, 10);
if (rest.len) {
MP_ERR(stream, "number expected: '%.*s'\n", BSTR_P(rest));
return STREAM_ERROR;