[MPlayer-dev-eng] Re: [PATCH] Incomplete patch for USF (correct diff) NOVIRUS
Attila Kinali
kinali at gmx.net
Wed Dec 10 16:38:22 CET 2003
On Wed, 10 Dec 2003 09:35:32 -0600
Joey Parrish <joey at nicewarrior.org> wrote:
> On Wed, Dec 10, 2003 at 09:27:54AM +0100, Moritz Bunkus wrote:
> > + if (!sscanf(line, " <subtitle start=\"%d:%d:%d.%d\" stop=\"%d:%d:%d.%d\"", &a1, &a2, &a3, &a4, &b1, &b2, &b3, &b4)) {
> >
> > sscanf returns the number of items assigned, so you should better test
> > for 'sscanf(...) != 8'.
> that's the same thing. if (!x) vs if (x != 0).
but != 0 is not the same as != 8
Attila Kinali
--
egp ist vergleichbar mit einem ikea bausatz fuer flugzeugtraeger
-- reeler in +kaosu
More information about the MPlayer-dev-eng
mailing list