Skip to content

Commit c714e7e

Browse files
authored
Merge pull request #134 from alfredoyang/freq_table_typo
fix a typo in frequency table
2 parents 8bfeaba + 3a0ba68 commit c714e7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mp4parse/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1420,7 +1420,7 @@ fn find_descriptor(data: &[u8], esds: &mut ES_Descriptor) -> Result<()> {
14201420

14211421
fn read_ds_descriptor(data: &[u8], esds: &mut ES_Descriptor) -> Result<()> {
14221422
let frequency_table =
1423-
vec![(0x1, 96000), (0x1, 88200), (0x2, 64000), (0x3, 48000),
1423+
vec![(0x0, 96000), (0x1, 88200), (0x2, 64000), (0x3, 48000),
14241424
(0x4, 44100), (0x5, 32000), (0x6, 24000), (0x7, 22050),
14251425
(0x8, 16000), (0x9, 12000), (0xa, 11025), (0xb, 8000),
14261426
(0xc, 7350)];

0 commit comments

Comments
 (0)