projects
/
fdkaac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6ab92a
)
fix reading of caf file without chan chunk
author
nu774
<honeycomb77@gmail.com>
Sat, 18 Jan 2014 08:41:57 +0000
(17:41 +0900)
committer
nu774
<honeycomb77@gmail.com>
Sat, 18 Jan 2014 08:41:57 +0000
(17:41 +0900)
Since channel map was not initialized, first channel was copied to every
other channel.
src/caf_reader.c
patch
|
blob
|
blame
|
history
diff --git
a/src/caf_reader.c
b/src/caf_reader.c
index 40162b4cab340058f074cb583e7da03eff050611..89a66c50242629c84173c3c2cf23310e6eb4de59 100644
(file)
--- a/
src/caf_reader.c
+++ b/
src/caf_reader.c
@@
-225,6
+225,7
@@
pcm_reader_t *caf_open(pcm_io_context_t *io,
memcpy(&reader->io, io, sizeof(pcm_io_context_t));
reader->tag_callback = tag_callback;
reader->tag_ctx = tag_ctx;
+ memcpy(reader->chanmap, "\000\001\002\003\004\005\006\007", 8);
if (caf_parse(reader, &data_length) < 0) {
free(reader);
This page took
0.011001 seconds
and
4
git commands to generate.