[vlc-devel] [PATCH] extvlc option for xspf playlist and remembering what is playing when vlc is closed
Rafaël Carré
funman at videolan.org
Mon May 5 23:07:36 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Le Mon, 5 May 2008 21:22:30 +0200,
Rafaël Carré <funman at videolan.org> a écrit :
> > + char psz_dirname[ strlen( psz_datadir )
> > + + sizeof( DIR_SEP "last-played.xspf")];
>
> there is an off by one, my son.
oops, you use sizeof(), and i read strlen()
- --
Rafaël Carré
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIH3cZYWCeGMCv8Q8RAoLLAKCy8FPGz1OMVi+5yfNhVYGJ++0u3QCdH0UW
10xCLO3d714bhabQ4gko+fk=
=cVbG
-----END PGP SIGNATURE-----
More information about the vlc-devel
mailing list