]> git.sesse.net Git - ffmpeg/commitdiff
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 4272a6d35f6eecce564ff97ac4be0e5b006eef50..bb81ff6916fe22347302fbaee4875d9d8f727903 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);
     }