From b58d7656167205d9e8f48739f58637689d369314 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Tue, 16 May 2017 18:47:55 +0200 Subject: [PATCH] add PCM codecs to the register --- src/register.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/register.rs b/src/register.rs index 76ff16f..1d6209d 100644 --- a/src/register.rs +++ b/src/register.rs @@ -137,6 +137,8 @@ static AVI_VIDEO_CODEC_REGISTER: &'static [(&[u8;4], &str)] = &[ static WAV_CODEC_REGISTER: &'static [(u16, &str)] = &[ (0x0000, "audio-pcm"), + (0x0001, "audio-pcm"), + (0x0003, "audio-pcm"), (0x0401, "audio-imc"), (0x0402, "audio-iac"), ]; @@ -170,4 +172,4 @@ mod test { let cd2 = get_codec_description(c2).unwrap(); println!("got {} and {}", cd1, cd2); } -} \ No newline at end of file +} -- 2.39.2