diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-01 20:01:04 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-01 20:01:04 +0000 |
commit | 021c753321fdcf8ce0da4ef240e5184236e5be9c (patch) | |
tree | 8f498b4fe68dd77dcc2742a27be38cfe6492b9ad /libmpdemux | |
parent | 690bccca999e83ff636a4d935e9c5212871ac1e2 (diff) | |
download | mpv-021c753321fdcf8ce0da4ef240e5184236e5be9c.tar.bz2 mpv-021c753321fdcf8ce0da4ef240e5184236e5be9c.tar.xz |
rv10 cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7574 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/demux_real.c | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/libmpdemux/demux_real.c b/libmpdemux/demux_real.c index 519187ee4f..d8d53e3738 100644 --- a/libmpdemux/demux_real.c +++ b/libmpdemux/demux_real.c @@ -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 @@ loop: 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 @@ loop: 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 |