FFmpeg/libavcodec
Alex Converse c4a90caae2 aac: Keep decode_band_types() from eating all padding at the end of a buffer.
Due to a shortcoming in the AAC specification, if an all zero buffer is
fed to section data decoding it will never terminate. That means without
a buffer exhaustion check decode_band_types() will consume all input
buffer padding. Worse if a get_bits() implementation that returns zeros
when padding is exhausted is used, the function will never terminate.

The fixes that by added a buffer exhaustion check in the sectioning
decoding loop.

Originally committed as revision 22044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-24 23:56:52 +00:00
..
2010-02-21 13:28:46 +00:00
2010-02-23 07:07:54 +00:00
2010-02-21 13:28:46 +00:00
2010-02-21 13:28:46 +00:00
2010-02-21 15:11:59 +00:00
2010-02-21 13:28:46 +00:00
2010-02-21 13:28:46 +00:00
2010-02-21 21:48:37 +00:00
2010-02-23 16:54:05 +00:00
2010-02-24 22:13:20 +00:00