aacsbr: Initialize e_a[1] to -1.
authorAlex Converse <alex.converse@gmail.com>
Tue, 9 Mar 2010 20:16:14 +0000 (20:16 +0000)
committerAlex Converse <alex.converse@gmail.com>
Tue, 9 Mar 2010 20:16:14 +0000 (20:16 +0000)
commit46751a65e384248631aa000f8d5e04e695db612a
tree6f84056a28fb78ec8a571abb2708b796d8292e76
parent2ed6f399440a9f9fa358a96293c6797c2ebd0aaf
aacsbr: Initialize e_a[1] to -1.

This triggers lAPrev (e_a[0]) on the first SBR frame to be -1. The spec is
somewhat ambiguous to what this value should be but this increases the accuracy
of al_sbr_e_44_1 and similar streams from 14 bits to 15 bits.

Originally committed as revision 22408 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/aacsbr.c