Ignore:
Timestamp:
05/02/07 22:31:31 (18 years ago)
Author:
r2d
Message:
  • added some checks in sv8 demuxing
  • corrected a bug in mpc2sv8
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/trunk/mpc2sv8/mpc2sv8.c

    r297 r302  
    177177
    178178        // copy end of file
    179         stream_size = (((mpc_demux_pos(demux) + 7) >> 3) - si.header_position + 3) & ~3;
     179
     180        stream_size = (((mpc_demux_pos(demux) + 7 - 20) >> 3) - si.header_position + 3) & ~3;
    180181        fseek(in_file, si.header_position + stream_size, SEEK_SET);
    181182        while((r_size = fread(buf, 1, TMP_BUF_SIZE, in_file))) {
Note: See TracChangeset for help on using the changeset viewer.