[MPlayer-cvslog] r23611 - trunk/libmpdemux/demux_mkv.c

reimar subversion at mplayerhq.hu
Sat Jun 23 18:57:27 CEST 2007


Author: reimar
Date: Sat Jun 23 18:57:27 2007
New Revision: 23611

Log:
100l, last demux_mkv patch passed ints instead of pointers to them to sscanf


Modified:
   trunk/libmpdemux/demux_mkv.c

Modified: trunk/libmpdemux/demux_mkv.c
==============================================================================
--- trunk/libmpdemux/demux_mkv.c	(original)
+++ trunk/libmpdemux/demux_mkv.c	Sat Jun 23 18:57:27 2007
@@ -292,7 +292,7 @@ aac_get_sample_rate_index (uint32_t samp
 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);



More information about the MPlayer-cvslog mailing list