]> git.nihav.org Git - nihav.git/commitdiff
add PCM codecs to the register
authorKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 16 May 2017 16:47:55 +0000 (18:47 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Tue, 16 May 2017 16:47:55 +0000 (18:47 +0200)
src/register.rs

index 76ff16f215731fcf128573feb27a16e23969279f..1d6209ddcd58213b9b941f75515369554c6bc02d 100644 (file)
@@ -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
+}