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
This commit is contained in:
reimar 2007-06-23 16:57:27 +00:00
parent dc0e2a9a46
commit 5318221f0a
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ aac_get_sample_rate_index (uint32_t sample_rate)
static int static int
vobsub_parse_size (sh_sub_t *sh, const char *start) 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", mp_msg(MSGT_DEMUX, MSGL_V, "[mkv] VobSub size: %ux%u\n",
sh->width, sh->height); sh->width, sh->height);