[MPlayer-cvslog] CVS: main/libmpdemux demux_mpc.c, 1.3, 1.4 asfheader.c, 1.42, 1.43

Reimar Döffinger CVS syncmail at mplayerhq.hu
Fri Jul 29 17:52:09 CEST 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv13765

Modified Files:
	demux_mpc.c asfheader.c 
Log Message:
10l, incorrect usage of le2me_*


Index: demux_mpc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mpc.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- demux_mpc.c	26 Jul 2005 00:01:43 -0000	1.3
+++ demux_mpc.c	29 Jul 2005 15:52:06 -0000	1.4
@@ -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;

Index: asfheader.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/asfheader.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- asfheader.c	21 Jun 2005 19:56:47 -0000	1.42
+++ asfheader.c	29 Jul 2005 15:52:06 -0000	1.43
@@ -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",




More information about the MPlayer-cvslog mailing list