[MPlayer-dev-eng] [PATCH] subviewer variant?

Oskar Liljeblad oskar at osk.mine.nu
Sat Dec 28 18:20:15 CET 2002


On Saturday, December 28, 2002 at 17:22, Alex Beregszaszi wrote:
> Hi,
> 
> Why have you changed the sscanf return value check from 8 to 10?
> There are only 8 parameters, so it will never return 10, or do the
> regexp [,.] counts as 2 parameters?

Unfortunately %[,.] counts as one parameter. According to the linux
manpage for scanf you can use '*' to suppress assignment, but it isn't
documented in the GNU libc docs for scanf so I don't know how portable
it is.

However %[ is documented everywhere I looked, so it should be standard.

Oskar (oskar at osk.mine.nu)



More information about the MPlayer-dev-eng mailing list