Ignore:
Timestamp:
07/29/07 19:20:15 (17 years ago)
Author:
r2d
Message:

skip error detection if it's end of stream

File:
1 edited

Legend:

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

    r337 r341  
    420420                        goto error;
    421421        }
    422         if (d->buffer + d->bytes_total < d->bits_reader.buff + ((8 - d->bits_reader.count) >> 3))
     422        if (i->bits != -1 && d->buffer + d->bytes_total < d->bits_reader.buff + ((8 - d->bits_reader.count) >> 3))
    423423                goto error;
    424424
Note: See TracChangeset for help on using the changeset viewer.