summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvdnav.c
diff options
context:
space:
mode:
authorRicardo Constantino <wiiaboo@gmail.com>2017-03-29 02:14:39 +0100
committerRicardo Constantino <wiiaboo@gmail.com>2017-03-29 02:18:53 +0100
commit7fe7583a7f56626a57ea181bd213064374738c27 (patch)
treed23f93478bf13b58926cd3fcbc4686d2d95fb51c /stream/stream_dvdnav.c
parent07ee7fb2c3495dac114e0028f8e2a8b1ae726add (diff)
downloadmpv-7fe7583a7f56626a57ea181bd213064374738c27.tar.bz2
mpv-7fe7583a7f56626a57ea181bd213064374738c27.tar.xz
stream/stream_dvdnav: don't ignore setting title
Probably a typo in 5e30e7a04. Fixes #4283
Diffstat (limited to 'stream/stream_dvdnav.c')
-rw-r--r--stream/stream_dvdnav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c
index 21827b6898..e4516fc295 100644
--- a/stream/stream_dvdnav.c
+++ b/stream/stream_dvdnav.c
@@ -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;