summaryrefslogtreecommitdiffstats
path: root/stream/stream_vcd.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-04-26 18:25:34 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-04-26 18:25:34 +0300
commit7795726e0f8c70edd6ecde7fd2137214af302f4f (patch)
tree87a087e69a0e2912183736de409676f824fb2248 /stream/stream_vcd.c
parentba3b65b92f3f822fa75b0210b841557f5b20f6d1 (diff)
parente16f02fe4001f3056b8efd1a099a563569b73f5d (diff)
downloadmpv-7795726e0f8c70edd6ecde7fd2137214af302f4f.tar.bz2
mpv-7795726e0f8c70edd6ecde7fd2137214af302f4f.tar.xz
Merge svn changes up to r31033
Diffstat (limited to 'stream/stream_vcd.c')
-rw-r--r--stream/stream_vcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_vcd.c b/stream/stream_vcd.c
index 9d698fef15..094cd98fe8 100644
--- a/stream/stream_vcd.c
+++ b/stream/stream_vcd.c
@@ -98,7 +98,7 @@ static int control(stream_t *stream, int cmd, void *arg) {
mp_vcd_priv_t *vcd = vcd_read_toc(stream->fd);
if (!vcd)
break;
- *(unsigned int *)arg = vcd->tochdr.cdth_trk1;
+ *(unsigned int *)arg = vcd_end_track(vcd);
return STREAM_OK;
}
case STREAM_CTRL_SEEK_TO_CHAPTER: