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

Nico Sabbi CVS syncmail at mplayerhq.hu
Sun Mar 12 00:26:05 CET 2006


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;
 	id = (buf[0] << 2) | ((buf[1] & 0xc0) >> 6);
 	mp_msg(MSGT_DEMUX, MSGL_V, "PARSE_MP4_OBJECT_DESCRIPTOR: len=%d, OD_ID=%d\n", len, id);
 	if(buf[1] & 0x20)




More information about the MPlayer-cvslog mailing list