aac: fix infinite loop on end-of-frame with sequence of 1-bits.
authorAlex Converse <alex.converse@gmail.com>
Wed, 22 Feb 2012 19:05:42 +0000 (11:05 -0800)
committerReinhard Tartler <siretart@tauware.de>
Sun, 26 Feb 2012 09:03:15 +0000 (10:03 +0100)
commit683213230e6978302109253a48610a6b069ea43d
tree6e86d75843e089191444775d3d6d27ccb1c0ddcc
parentad0ee682b3cf663eb319020086f64da11d17dd82
aac: fix infinite loop on end-of-frame with sequence of 1-bits.

Based-on-work-by: Ronald S. Bultje <rsbultje@gmail.com>
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit 1cd9a6154bc1ac1193c703cea980ed21c3e53792)

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/aacdec.c