projects
/
nihav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ccae534
)
add PCM codecs to the register
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Tue, 16 May 2017 16:47:55 +0000
(18:47 +0200)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Tue, 16 May 2017 16:47:55 +0000
(18:47 +0200)
src/register.rs
patch
|
blob
|
blame
|
history
diff --git
a/src/register.rs
b/src/register.rs
index 76ff16f215731fcf128573feb27a16e23969279f..1d6209ddcd58213b9b941f75515369554c6bc02d 100644
(file)
--- 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
+}