changeset 23591:7acf8cc042b0

100l, last demux_mkv patch passed ints instead of pointers to them to sscanf
author reimar
date Sat, 23 Jun 2007 16:57:27 +0000
parents d0ed8af54675
children 76bed8202233
files libmpdemux/demux_mkv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mkv.c	Sat Jun 23 15:38:00 2007 +0000
+++ b/libmpdemux/demux_mkv.c	Sat Jun 23 16:57:27 2007 +0000
@@ -292,7 +292,7 @@
 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);