Ignore:
Timestamp:
05/10/07 13:01:20 (17 years ago)
Author:
r2d
Message:

Added mpccut prog, sv8 files can now be cutted

File:
1 edited

Legend:

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

    r309 r317  
    132132        e.seek_ref = ftell(e.outputFile);
    133133        writeMagic(&e);
    134         writeStreamInfo( &e, si.max_band, si.ms > 0, si.samples, si.sample_freq,
     134        writeStreamInfo( &e, si.max_band, si.ms > 0, si.samples, 0, si.sample_freq,
    135135                                          si.channels);
    136136        si_size = writeBlock(&e, "SH", MPC_TRUE, 0);
     
    174174        if (demux->d->samples != si.samples) {
    175175                fseek(e.outputFile, e.seek_ref + 4, SEEK_SET);
    176                 writeStreamInfo( &e, si.max_band, si.ms > 0, demux->d->samples,
     176                writeStreamInfo( &e, si.max_band, si.ms > 0, demux->d->samples, 0,
    177177                                                  si.sample_freq, si.channels);
    178178                writeBlock(&e, "SH", MPC_TRUE, si_size);
Note: See TracChangeset for help on using the changeset viewer.