Enable proper output from the LFE channel, based on patch from Mathias Rauen dear...
authorBenjamin Larsson <banan@ludd.ltu.se>
Fri, 4 Jan 2008 20:02:10 +0000 (20:02 +0000)
committerBenjamin Larsson <banan@ludd.ltu.se>
Fri, 4 Jan 2008 20:02:10 +0000 (20:02 +0000)
Originally committed as revision 11407 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/dca.c

index 13eb865..0bfc294 100644 (file)
@@ -1001,7 +1001,7 @@ static int dca_subsubframe(DCAContext * s)
                               s->lfe_data + lfe_samples +
                               2 * s->lfe * subsubframe,
                               &s->samples[256 * i_channels],
-                              8388608.0, s->bias);
+                              256.0, 0 /* s->bias */);
         /* Outputs 20bits pcm samples */
     }