Mercurial > mplayer.hg
changeset 16743:ea5de6cb209b
Bigendian bug
author | reimar |
---|---|
date | Wed, 12 Oct 2005 20:45:52 +0000 |
parents | 2d8ace98bb6d |
children | 65fb32defee5 |
files | libmpdemux/demux_mpc.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_mpc.c Wed Oct 12 20:40:05 2005 +0000 +++ b/libmpdemux/demux_mpc.c Wed Oct 12 20:45:52 2005 +0000 @@ -107,9 +107,8 @@ priv->last_pts = -1; priv->length = seconds; priv->dword = 0; - priv->pos = 0; - stream_read(s, (void *)&priv->dword, 4); - priv->pos = 8; + priv->pos = 32; // empty bit buffer + get_bits(priv, s, 8); // discard first 8 bits demuxer->priv = priv; demuxer->seekable = 0; demuxer->audio->id = 0;