Small fix for audiofile reading WAV files



Noticed someone put an assert in recently has been causing all apps that
use audiofile to read WAV files to die, tracked it down to this:

diff -u -r1.7 wave.c
--- wave.c	1999/01/17 20:18:48	1.7
+++ wave.c	1999/01/20 21:27:12
@@ -125,7 +125,7 @@
 		printf("index: %d\n", index);
 #endif
 		fread(&chunkid, 4, 1, file->fp);
-		chunkid = BENDIAN_TO_HOST_INT32(chunkid);
+		chunkid = LENDIAN_TO_HOST_INT32(chunkid);

 		fread(&chunksize, 4, 1, file->fp);
 		chunksize = LENDIAN_TO_HOST_INT32(chunksize);

Not sure if gnome-list was the right place to send this, let me know
if there are better places.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]