From 5318221f0a06b9857b7ea857e52f42aae3799b70 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 23 Jun 2007 16:57:27 +0000 Subject: 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 --- libmpdemux/demux_mkv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmpdemux/demux_mkv.c') 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); -- cgit v1.2.3