Ignore:
Timestamp:
03/30/12 22:54:01 (13 years ago)
Author:
r2d
Message:

prevent endless loops

File:
1 edited

Legend:

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

    r477 r478  
    634634                        i->bits = -1; // we pretend it's end of file
    635635
    636                 if (MPC_IS_FAILURE(s) || i->samples > 0)
     636                if (i->bits == -1 || i->samples > 0)
    637637                        return s;
    638638        }
Note: See TracChangeset for help on using the changeset viewer.