[MPlayer-cvslog] CVS: main/libmpdemux demux_ts.c,1.46,1.47

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Sun Mar 12 00:48:37 CET 2006


On Sunday, 12 March 2006 at 00:26, Nico Sabbi CVS wrote:
> CVS change done by Nico Sabbi CVS
> 
> Update of /cvsroot/mplayer/main/libmpdemux
> In directory mail:/var2/tmp/cvs-serv30520
> 
> Modified Files:
> 	demux_ts.c 
> Log Message:
> init variable in parse_mp4_object_descriptor before using it; fixes cid 237
> 
> Index: demux_ts.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/libmpdemux/demux_ts.c,v
> retrieving revision 1.46
> retrieving revision 1.47
> diff -u -r1.46 -r1.47
> --- demux_ts.c	4 Mar 2006 11:00:20 -0000	1.46
> +++ demux_ts.c	11 Mar 2006 23:26:02 -0000	1.47
> @@ -1934,6 +1934,7 @@
>  {
>  	int i, j = 0, id;
>  	
> +	i=0;

Bah. Isn't it better to do:
  -	int i, j = 0, id;
  +	int i = 0, j = 0, id;
?

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