mirror of https://github.com/mpv-player/mpv
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:
parent
dc0e2a9a46
commit
5318221f0a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue