Changeset 305


Ignore:
Timestamp:
05/02/07 23:20:42 (18 years ago)
Author:
r2d
Message:

forgot to remove debug code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/trunk/libmpcdec/mpc_demux.c

    r302 r305  
    367367{
    368368        mpc_bits_reader r;
    369         int pos = 0;
    370369        if (d->si.stream_version >= 8) {
    371370                i->is_key_frame = MPC_FALSE;
     
    380379                        mpc_demux_fill(d, 11, 0); // max header block size
    381380                        mpc_bits_get_block(&d->bits_reader, &b);
    382                         pos = mpc_demux_pos(d) >> 3;
    383381                        while( memcmp(b.key, "AP", 2) != 0 ) { // scan all blocks until audio
    384382                                if (b.key[0] < 65 || b.key[0] > 90 || b.key[1] < 65 || b.key[1] > 90
     
    425423error:
    426424                i->bits = -1; // we pretend it's end of file
    427                 // return MPC_STATUS_INVALIDSV;
    428                 return pos;
     425                return MPC_STATUS_INVALIDSV;
    429426}
    430427
Note: See TracChangeset for help on using the changeset viewer.