[Mplayer-cvslog] CVS: main/libao2 ao_pcm.c,1.8,1.9

Arpi of Ize arpi at mplayerhq.hu
Sun Jul 21 14:13:56 CEST 2002


Update of /cvsroot/mplayer/main/libao2
In directory mail:/var/tmp.root/cvs-serv6472

Modified Files:
	ao_pcm.c 
Log Message:
endianess fix by Colin Leroy <colin at colino.net>


Index: ao_pcm.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_pcm.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ao_pcm.c	22 Jun 2002 12:10:02 -0000	1.8
+++ ao_pcm.c	21 Jul 2002 12:13:40 -0000	1.9
@@ -122,6 +122,7 @@
 	if(ao_pcm_waveheader && fseek(fp, 0, SEEK_SET) == 0){ /* Write wave header */
 		wavhdr.file_length = wavhdr.data_length + sizeof(wavhdr) - 8;
 		wavhdr.file_length = le2me_32(wavhdr.file_length);
+		wavhdr.data_length = le2me_32(wavhdr.data_length);
 		fwrite(&wavhdr,sizeof(wavhdr),1,fp);
 	}
 	fclose(fp);




More information about the MPlayer-cvslog mailing list