Mercurial > mplayer.hg
changeset 16149:5a97461d9ada
10l, incorrect usage of le2me_*
author | reimar |
---|---|
date | Fri, 29 Jul 2005 15:52:06 +0000 |
parents | dbb09a96c48e |
children | 06b1f9d7dd4a |
files | libmpdemux/asfheader.c libmpdemux/demux_mpc.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/asfheader.c Fri Jul 29 00:20:13 2005 +0000 +++ b/libmpdemux/asfheader.c Fri Jul 29 15:52:06 2005 +0000 @@ -374,7 +374,7 @@ } // read length of chunk stream_read(demuxer->stream, (char *)&data_len, sizeof(data_len)); - le2me_64(data_len); + data_len = le2me_64(data_len); demuxer->movi_start = stream_tell(demuxer->stream) + 26; demuxer->movi_end = start + data_len; mp_msg(MSGT_HEADER, MSGL_V, "Found movie at 0x%X - 0x%X\n",
--- a/libmpdemux/demux_mpc.c Fri Jul 29 00:20:13 2005 +0000 +++ b/libmpdemux/demux_mpc.c Fri Jul 29 15:52:06 2005 +0000 @@ -36,7 +36,7 @@ } else { stream_read(s, (void *)&priv->dword, 4); - le2me_32(priv->dword); + priv->dword = le2me_32(priv->dword); priv->pos -= 32; if (priv->pos) { out <<= priv->pos;