Ignore:
Timestamp:
11/09/06 21:39:12 (18 years ago)
Author:
r2d
Message:
  • report file size
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpcdec/branches/zorg/src/mpc_demux.c

    r107 r108  
    9898        int err;
    9999
     100        memset(&d->si, 0, sizeof d->si);
     101
    100102    // get header position
    101103        err = d->si.header_position = mpc_skip_id3v2(d->r);
     
    106108        if(!err) return MPC_STATUS_FILE;
    107109
    108         memset(&d->si, 0, sizeof d->si);
     110        d->si.tag_offset = d->si.total_file_length = d->r->get_size(d->r);
     111
    109112        mpc_demux_fill(d, 4, 0);
    110113        magic[0] = mpc_bits_read(&d->bits_reader, 8);
Note: See TracChangeset for help on using the changeset viewer.