aboutsummaryrefslogtreecommitdiff
path: root/audio/amp/files/patch-position.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/amp/files/patch-position.c')
-rw-r--r--audio/amp/files/patch-position.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/audio/amp/files/patch-position.c b/audio/amp/files/patch-position.c
deleted file mode 100644
index 8c446f7e38ff..000000000000
--- a/audio/amp/files/patch-position.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- position.c.orig 1997-05-31 17:47:58 UTC
-+++ position.c
-@@ -40,7 +40,7 @@ struct AUDIO_HEADER tmp;
- }
-
- bitrate=t_bitrate[tmp.ID][3-tmp.layer][tmp.bitrate_index];
-- fs=t_sampling_frequency[tmp.ID][tmp.sampling_frequency];
-+ fs=t_sampling_frequency[tmp.IDex][tmp.ID][tmp.sampling_frequency];
- if (tmp.ID) mean_frame_size=144000*bitrate/fs;
- else mean_frame_size=72000*bitrate/fs;
- fillbfr(mean_frame_size + tmp.padding_bit - hsize);
-@@ -73,7 +73,7 @@ struct AUDIO_HEADER tmp;
- * so we have to go back one frame + 4 bytes + 1 byte (in case padding was used).
- */
- bitrate=t_bitrate[tmp.ID][3-tmp.layer][tmp.bitrate_index];
-- fs=t_sampling_frequency[tmp.ID][tmp.sampling_frequency];
-+ fs=t_sampling_frequency[tmp.IDex][tmp.ID][tmp.sampling_frequency];
- if (tmp.ID) mean_frame_size=144000*bitrate/fs;
- else mean_frame_size=72000*bitrate/fs;
-