[Mplayer-cvslog] CVS: main/libmpdemux demux_real.c,1.26,1.27
Michael Niedermayer
michael at mplayerhq.hu
Tue Oct 1 22:01:07 CEST 2002
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv28779/libmpdemux
Modified Files:
demux_real.c
Log Message:
rv10 cleanup
Index: demux_real.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_real.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- demux_real.c 22 Sep 2002 02:33:26 -0000 1.26
+++ demux_real.c 1 Oct 2002 20:01:04 -0000 1.27
@@ -8,6 +8,9 @@
TODO: fix the whole syncing mechanism
$Log$
+ Revision 1.27 2002/10/01 20:01:04 michael
+ rv10 cleanup
+
Revision 1.26 2002/09/22 02:33:26 arpi
tons of warning fixes, also some 10l bugfixes, including Dominik's PVA bug
@@ -575,9 +578,6 @@
ds_add_packet(ds, dp);
} else
if (sh_video != NULL) {
- if (sh_video->format==0x30345652 ||
- sh_video->format==0x30335652 ||
- sh_video->format==0x30325652 ) {
// we need a more complicated demuxing
// a block may contain multiple packets
// as well as a packet may be contained in multiple blocks
@@ -743,28 +743,6 @@
printf("\n******** !!!!!!!! BUG!! len=%d !!!!!!!!!!! ********\n",len);
if(len>0) stream_skip(demuxer->stream, len);
}
-
- } else {
- // old video stream type
-
- dp = new_demux_packet(len);
- stream_read(demuxer->stream, dp->buffer, len);
-#if 0
- { unsigned char* p=dp->buffer;
- int i;
- printf("\n#HDR# %04X",len);
- for(i=0;i<20;i++) printf(" %02X",p[i]);
- printf("\n");
- if((p[0]&0x80)) printf("#HDR#\n");
- }
-#endif
-
- dp->pts = timestamp/1000.0f;
- dp->pos = demuxer->filepos;
- dp->flags = (flags & 0x2) ? 0x10 : 0;
- ds_add_packet(ds, dp);
- }
-
}
}
#endif
More information about the MPlayer-cvslog
mailing list