Zero 'idx' for each iteration of the coupling gain loop and as it is only used
authorRobert Swain <robert.swain@gmail.com>
Thu, 18 Sep 2008 16:02:51 +0000 (16:02 +0000)
committerRobert Swain <robert.swain@gmail.com>
Thu, 18 Sep 2008 16:02:51 +0000 (16:02 +0000)
commit341b28c0d274ade7902588697ec1d8bdfe449185
tree6a3059a0c89b6601543a4a680bdb7890322ce31d
parentf80a8ca5cba5a86d2d3f3e314d41ad29a985ab5b
Zero 'idx' for each iteration of the coupling gain loop and as it is only used
within this loop, we can move its declaration there too. This fixes bitstream
desync when decoding streams containing CCEs.

Based on a patch by Alex Converse (alex converse gmail com)

Originally committed as revision 15364 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/aac.c