Ignore:
Timestamp:
01/13/16 00:33:48 (9 years ago)
Author:
r2d
Message:

mpc2sv8 : fix a segfault caused by commit r476

File:
1 edited

Legend:

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

    r473 r489  
    163163
    164164                demux->d->samples_to_skip = MPC_FRAME_LENGTH + MPC_DECODER_SYNTH_DELAY;
    165                 err = mpc_demux_decode(demux, &frame);
    166 
    167                 if(frame.bits == -1) break;
     165        err = mpc_demux_decode_inner(demux, &frame);
     166
     167        if (MPC_IS_FAILURE(err) || frame.bits == -1) break;
    168168
    169169                datacpy(demux->d, &e);
Note: See TracChangeset for help on using the changeset viewer.