Changeset 80


Ignore:
Timestamp:
10/31/06 11:41:51 (15 years ago)
Author:
r2d
Message:
  • bug correction in block size with CRC
File:
1 edited

Legend:

Unmodified
Added
Removed
  • mppenc/branches/r2d/libmpcenc/bitstream.c

    r78 r80  
    8989
    9090        // write block header (key / length)
    91         len = encodeSize(e->pos + 2, blockSize, TRUE);
     91        len = encodeSize(e->pos + 2 + (addCRC ? 4 : 0), blockSize, TRUE);
    9292        fwrite(key, sizeof(char), 2, fp);
    9393        fwrite(blockSize, sizeof(char), len, fp);
Note: See TracChangeset for help on using the changeset viewer.