[MPlayer-dev-eng] [PATCH] small 64bit fix for ao_pcm
Götz Waschk
waschk at informatik.uni-rostock.de
Thu Oct 16 11:14:01 CEST 2003
Hi,
here's a small patch from Mandrake's 64bit expert. It just replaces
some types that have a different size on AMD64.
CU
--
What difference does it make to the dead, the orphans and the
homeless, whether the mad destruction is wrought under the name of
totalitarianism or the holy name of liberty or democracy?
Mahatma Gandhi (1869 - 1948), "Non-Violence in Peace and War"
-------------- next part --------------
Index: libao2/ao_pcm.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_pcm.c,v
retrieving revision 1.18
diff -u -r1.18 ao_pcm.c
--- libao2/ao_pcm.c 5 May 2003 23:43:30 -0000 1.18
+++ libao2/ao_pcm.c 16 Oct 2003 09:14:38 -0000
@@ -32,19 +32,19 @@
struct WaveHeader
{
- unsigned long riff;
- unsigned long file_length;
- unsigned long wave;
- unsigned long fmt;
- unsigned long fmt_length;
- short fmt_tag;
- short channels;
- unsigned long sample_rate;
- unsigned long bytes_per_second;
- short block_align;
- short bits;
- unsigned long data;
- unsigned long data_length;
+ uint32_t riff;
+ uint32_t file_length;
+ uint32_t wave;
+ uint32_t fmt;
+ uint32_t fmt_length;
+ uint16_t fmt_tag;
+ uint16_t channels;
+ uint32_t sample_rate;
+ uint32_t bytes_per_second;
+ uint16_t block_align;
+ uint16_t bits;
+ uint32_t data;
+ uint32_t data_length;
};
/* init with default values */
More information about the MPlayer-dev-eng
mailing list