[MPlayer-cvslog] CVS: main/libmpdemux stream_dvd.c,1.11,1.12
Dominik 'Rathann' Mierzejewski
dominik at rangers.eu.org
Sun Mar 12 00:49:47 CET 2006
On Sunday, 12 March 2006 at 00:29, Nico Sabbi CVS wrote:
> CVS change done by Nico Sabbi CVS
>
> Update of /cvsroot/mplayer/main/libmpdemux
> In directory mail:/var2/tmp/cvs-serv32184
>
> Modified Files:
> stream_dvd.c
> Log Message:
> init msec in mp_get_titleset_length() before using it; closes cid 251
>
> Index: stream_dvd.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/libmpdemux/stream_dvd.c,v
> retrieving revision 1.11
> retrieving revision 1.12
> diff -u -r1.11 -r1.12
> --- stream_dvd.c 27 Feb 2006 21:11:28 -0000 1.11
> +++ stream_dvd.c 11 Mar 2006 23:29:02 -0000 1.12
> @@ -438,6 +438,7 @@
> int pgc_no; ///< program chain number
> int msec; ///< time length in milliseconds
>
> + msec=0;
Same here. Why not initialize when declaring?
- int msec; ///< time length in milliseconds
+ int msec = 0; ///< time length in milliseconds
R.
--
MPlayer developer and RPMs maintainer: http://rpm.greysector.net/mplayer/
There should be a science of discontent. People need hard times and oppression
to develop psychic muscles.
-- from "Collected Sayings of Muad'Dib" by the Princess Irulan
More information about the MPlayer-cvslog
mailing list