aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2017-05-16 18:47:55 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2017-05-16 18:47:55 +0200
commitb58d7656167205d9e8f48739f58637689d369314 (patch)
treef94eefed903d23a87629b06e213b886240b4d8ac /src
parentccae5343c71a92519937b9eafd9af0fe0ce3d799 (diff)
downloadnihav-b58d7656167205d9e8f48739f58637689d369314.tar.gz
add PCM codecs to the register
Diffstat (limited to 'src')
-rw-r--r--src/register.rs4
1 files changed, 3 insertions, 1 deletions
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
+}