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:
parent
7c9fefc776
commit
379f66aedc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user