summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demux_mkv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/demux_mkv.c')
-rw-r--r--libmpdemux/demux_mkv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/demux_mkv.c b/libmpdemux/demux_mkv.c
index 49af3d5249..5bbc69c3e4 100644
--- a/libmpdemux/demux_mkv.c
+++ b/libmpdemux/demux_mkv.c
@@ -292,7 +292,7 @@ aac_get_sample_rate_index (uint32_t sample_rate)
static int
vobsub_parse_size (sh_sub_t *sh, const char *start)
{
- if (sscanf(&start[6], "%dx%d", sh->width, sh->height) == 2)
+ if (sscanf(&start[6], "%dx%d", &sh->width, &sh->height) == 2)
{
mp_msg(MSGT_DEMUX, MSGL_V, "[mkv] VobSub size: %ux%u\n",
sh->width, sh->height);