[FFmpeg-cvslog] avcodec/dcadec: decode LFE so we dont just add random data when downmixing with LFE

Michael Niedermayer git at videolan.org
Fri Nov 29 14:36:29 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Nov 29 14:07:34 2013 +0100| [6e7de1144436a6871fdbd7859f3a2ece6e89d9fb] | committer: Michael Niedermayer

avcodec/dcadec: decode LFE so we dont just add random data when downmixing with LFE

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6e7de1144436a6871fdbd7859f3a2ece6e89d9fb
---

 libavcodec/dcadec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c
index 4153755..16a8317 100644
--- a/libavcodec/dcadec.c
+++ b/libavcodec/dcadec.c
@@ -1422,7 +1422,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[s->lfe_index],



More information about the ffmpeg-cvslog mailing list