aacenc: Write correct length for long identification strings.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 23 Jan 2012 21:05:03 +0000 (13:05 -0800)
committerAlex Converse <alex.converse@gmail.com>
Tue, 24 Jan 2012 20:54:59 +0000 (12:54 -0800)
commitcdfe94c5ab1df40c6c724df5d4cafe2539c5571a
tree8c79885b18327b8150b160a9fa311b4625c5ad72
parentb8dd555c63ca4ef1034006159b01f49e103c6252
aacenc: Write correct length for long identification strings.

When the length is the escape value (15), the new length is calculated by
15 + get_bits(8) - 1.

Signed-off-by: Alex Converse <alex.converse@gmail.com>
libavcodec/aacenc.c