From: Michael Niedermayer <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
Signed-off-by: Tim Walker <[email protected]>
---
I had remembered to move downmixing until after decoding the LFE, but stupidly
forgot to change the condition which controlled whether the LFE gets decoded at
all.
libavcodec/dcadec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c
index 50cbf2d..def15b6 100644
--- a/libavcodec/dcadec.c
+++ b/libavcodec/dcadec.c
@@ -1261,7 +1261,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]],
--
1.8.3.4 (Apple Git-47)
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel