Skip the bit allocation search if previous and current SNR offsets are the
authorJustin Ruggles <justin.ruggles@gmail.com>
Fri, 31 Dec 2010 23:22:08 +0000 (23:22 +0000)
committerJustin Ruggles <justin.ruggles@gmail.com>
Fri, 31 Dec 2010 23:22:08 +0000 (23:22 +0000)
commit9c84a72a250d048138c5e66a8d2655fd753eb32a
treeb6394130d5ddf3379af3355146f132c4f6964632
parent5128842ea2057c86550b833c9141c271df1bdc94
Skip the bit allocation search if previous and current SNR offsets are the
maximum value of 1023.
This speeds up overall encoding depending on the content and bitrate.
The most improvement is with high bitrates and/or low complexity content.

Originally committed as revision 26181 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ac3enc.c