Mercurial > mplayer.hg
changeset 7084:ffd4c6024cdb
10l - fixed chunktab size calculation
author | arpi |
---|---|
date | Sat, 24 Aug 2002 23:07:34 +0000 |
parents | 6376abc95ae7 |
children | 02aa64b49b70 |
files | libmpdemux/demux_real.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_real.c Sat Aug 24 23:06:38 2002 +0000 +++ b/libmpdemux/demux_real.c Sat Aug 24 23:07:34 2002 +0000 @@ -8,6 +8,9 @@ TODO: fix the whole syncing mechanism $Log$ + Revision 1.23 2002/08/24 23:07:34 arpi + 10l - fixed chunktab size calculation + Revision 1.22 2002/08/24 22:39:27 arpi - changed re-muxed packet structure (see struct dp_hdr_t) now the packets can be encapsulated into avi or other file formats @@ -676,7 +679,7 @@ } } // create new packet! - dp = new_demux_packet(sizeof(dp_hdr_t)+vpkg_length+2*(1+(vpkg_header&0x3F))); + dp = new_demux_packet(sizeof(dp_hdr_t)+vpkg_length+8*(1+2*(vpkg_header&0x3F))); // the timestamp seems to be in milliseconds dp->pts = 0; // timestamp/1000.0f; //timestamp=0; dp->pos = demuxer->filepos; @@ -1099,6 +1102,7 @@ break; case 0x20001000: case 0x20100001: + case 0x20200002: /* codec id: rv20 */ break; case 0x30202002: