summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demux_mkv.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-23 16:57:27 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-23 16:57:27 +0000
commit5318221f0a06b9857b7ea857e52f42aae3799b70 (patch)
tree955e11c83e4d4e458d1627b610d949dd49b67150 /libmpdemux/demux_mkv.c
parentdc0e2a9a46ebae269596ff422b572b0f4e8d7c04 (diff)
downloadmpv-5318221f0a06b9857b7ea857e52f42aae3799b70.tar.bz2
mpv-5318221f0a06b9857b7ea857e52f42aae3799b70.tar.xz
100l, last demux_mkv patch passed ints instead of pointers to them to sscanf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23611 b3059339-0415-0410-9bf9-f77b7e298cf2
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);