g726enc: add private option for setting code size directly.
authorJustin Ruggles <justin.ruggles@gmail.com>
Fri, 28 Oct 2011 01:19:41 +0000 (21:19 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Wed, 2 Nov 2011 01:23:04 +0000 (21:23 -0400)
commit615b2a2cf5e93bc8701944b136891973aab84579
tree6d8e7824f66e5dd3693a9b0ae410be64280b4afa
parent7abb73d4ba8aeeb18b8adbd0f19b8caa4ec51f39
g726enc: add private option for setting code size directly.

This is an easy alternative to setting bit_rate. This patch also selects the
closest bit_rate to the requested one rather than requiring an exact value.
libavcodec/g726.c