summaryrefslogtreecommitdiff
path: root/audio/amp/files/patch-formats.c
blob: 57f6ddb0a4cc3c765555a2aac53e92333d52b195 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- formats.c.orig	1997-05-31 17:47:58 UTC
+++ formats.c
@@ -27,7 +27,7 @@ unsigned char iza[8]={0x64 ,0x61 ,0x74 ,
 int len,fs,i;
 
 	len=ftell(out_file)-44;
-	fs=t_sampling_frequency[header->ID][header->sampling_frequency];
+	fs=t_sampling_frequency[header->IDex][header->ID][header->sampling_frequency];
 	rewind(out_file);
 	fwrite(ispred,1,20,out_file);