diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-12-05 21:06:28 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-12-06 23:37:05 +0100 |
commit | b6a971994187e87fcc8811108e144f15c1652728 (patch) | |
tree | 6e4838056f84a6572f3cc354e60926b4a7a8f1d9 /libavcodec | |
parent | d085f80fa1381b363b0b91689407d5646d78ed28 (diff) | |
download | ffmpeg-b6a971994187e87fcc8811108e144f15c1652728.tar.gz |
dcadec: Decode LFE to avoid adding random data when downmixing with LFE
Signed-off-by: Tim Walker <tdskywalker@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dcadec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c index cf76f3f4a4..aa713f3481 100644 --- 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]], |