ac3enc: initialize all coefficients to zero.
authorJustin Ruggles <justin.ruggles@gmail.com>
Thu, 26 May 2011 00:12:57 +0000 (20:12 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Thu, 26 May 2011 00:13:49 +0000 (20:13 -0400)
commit478455d66b80e335bdabc00df5dee298d630cbab
tree045e73af556089fd83f526d23c6c6ad7cc33c796
parenta2ee2843c09a6116b090020eff8213b86ea98bdb
ac3enc: initialize all coefficients to zero.

Uninitialized coefficients were being used to generate exponents, some
of which actually ended up in the final stream.  Even though, they were
just extra exponents that are not used by any decoder, it is still
better to have consistent output for testing. This also fixes valgrind
errors.
libavcodec/ac3enc.c