1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 07:42:17 +00:00

Bigendian bug

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16744 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2005-10-12 20:45:52 +00:00
parent 7c9fefc776
commit 379f66aedc

View File

@ -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;