projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d085f80
)
dcadec: Decode LFE to avoid adding random data when downmixing with LFE
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 5 Dec 2013 20:06:28 +0000
(21:06 +0100)
committer
Luca Barbato
<lu_zero@gentoo.org>
Fri, 6 Dec 2013 22:37:05 +0000
(23:37 +0100)
Signed-off-by: Tim Walker <tdskywalker@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/dcadec.c
patch
|
blob
|
history
diff --git
a/libavcodec/dcadec.c
b/libavcodec/dcadec.c
index
cf76f3f
..
aa713f3
100644
(file)
--- a/
libavcodec/dcadec.c
+++ b/
libavcodec/dcadec.c
@@
-1263,7
+1263,7
@@
static int dca_filter_channels(DCAContext *s, int block_index)
}
/* Generate LFE samples for this subsubframe FIXME!!! */
- if (s->
output & DCA_LFE
) {
+ if (s->
lfe
) {
lfe_interpolation_fir(s, s->lfe, 2 * s->lfe,
s->lfe_data + 2 * s->lfe * (block_index + 4),
s->samples_chanptr[dca_lfe_index[s->amode]],