[MPlayer-cvslog] CVS: main/libmpdemux demux_audio.c,1.51,1.52

Reimar Döffinger CVS syncmail at mplayerhq.hu
Sun Apr 16 15:45:23 CEST 2006


CVS change done by Reimar Döffinger CVS

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

Modified Files:
	demux_audio.c 
Log Message:
Use ULL for > 32 bits constant.


Index: demux_audio.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_audio.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- demux_audio.c	11 Apr 2006 10:46:52 -0000	1.51
+++ demux_audio.c	16 Apr 2006 13:45:21 -0000	1.52
@@ -512,7 +512,7 @@
 	      stream_read(s, (char *)&srate, 3);
 	      srate = be2me_32(srate) >> 12;
 	      stream_read(s, (char *)&num_samples, 5);
-	      num_samples = (be2me_64(num_samples) >> 24) & 0xfffffffff;
+	      num_samples = (be2me_64(num_samples) >> 24) & 0xfffffffffULL;
 	      if (num_samples && srate)
 	        sh_audio->i_bps = size * srate / num_samples;
 	    }




More information about the MPlayer-cvslog mailing list