ac3enc: return error if frame+exponent bits are too large instead of using
authorJustin Ruggles <justin.ruggles@gmail.com>
Fri, 15 Apr 2011 23:56:42 +0000 (19:56 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sun, 1 May 2011 17:32:03 +0000 (13:32 -0400)
commit4142487d1cd8c555e13f156d1cc89f838099db10
treefd0dbc90af7bf5a17db1c17e4e04eb85e19e7284
parent987fe2dc55c2de4dd798cbd0ebcdae6a066faff7
ac3enc: return error if frame+exponent bits are too large instead of using
av_assert2().

This can occur in some very rare cases with low bitrates.
libavcodec/ac3enc.c