diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-10-12 20:45:52 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-10-12 20:45:52 +0000 |
commit | 379f66aedc496bbfc761a39c512ed8370aae3cd5 (patch) | |
tree | f8364e08bbf7027e57d82555c3c3410d87e8f919 /libmpdemux | |
parent | 7c9fefc7766cc5c9d72bcff2348e70161bc1ba43 (diff) |
Bigendian bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16744 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/demux_mpc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libmpdemux/demux_mpc.c b/libmpdemux/demux_mpc.c index c776592d98..33cc2c254b 100644 --- a/libmpdemux/demux_mpc.c +++ b/libmpdemux/demux_mpc.c @@ -107,9 +107,8 @@ static demuxer_t *demux_mpc_open(demuxer_t* demuxer) { 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; |