zero the upper frequencies of the correct coefficients
authorJustin Ruggles <justin.ruggles@gmail.com>
Tue, 27 May 2008 00:43:39 +0000 (00:43 +0000)
committerJustin Ruggles <justin.ruggles@gmail.com>
Tue, 27 May 2008 00:43:39 +0000 (00:43 +0000)
Originally committed as revision 13452 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ac3dec.c

index 4272a6d..bb81ff6 100644 (file)
@@ -604,7 +604,7 @@ static int get_transform_coeffs(AC3DecodeContext *s)
             end = s->end_freq[ch];
         }
         do
-            s->transform_coeffs[ch][end] = 0;
+            s->fixed_coeffs[ch][end] = 0;
         while(++end < 256);
     }