[Mplayer-cvslog] CVS: main/libmpdemux demux_real.c,1.54,1.55

Richard Felker CVS rfelker at mplayerhq.hu
Fri Jan 30 04:44:02 CET 2004


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv27775

Modified Files:
	demux_real.c 
Log Message:
1000000000l reported by Steven Schultz (thanks!)
when the hell was this c++ crap added?
why wasn't it noticed?
do all the competent developers --disable-real because we don't watch
crappy low-quality files?


Index: demux_real.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_real.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- demux_real.c	29 Jan 2004 12:11:13 -0000	1.54
+++ demux_real.c	30 Jan 2004 03:44:00 -0000	1.55
@@ -515,6 +515,7 @@
     int flags;
     int version;
     int reserved;
+    demux_packet_t *dp;
 
   while(1){
 
@@ -601,7 +602,7 @@
 		free(sub_packet_lengths);
 		return 1;
 	    }
-            demux_packet_t *dp = new_demux_packet(len);
+            dp = new_demux_packet(len);
 	    stream_read(demuxer->stream, dp->buffer, len);
 #ifdef CRACK_MATRIX
 	    mp_msg(MSGT_DEMUX, MSGL_V,"*** audio block len=%d\n",len);




More information about the MPlayer-cvslog mailing list