libvorbis: fix use of minrate/maxrate AVOptions
authorJustin Ruggles <justin.ruggles@gmail.com>
Tue, 28 Feb 2012 23:52:30 +0000 (18:52 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Wed, 29 Feb 2012 19:44:15 +0000 (14:44 -0500)
commit182d4f1f3855460ee8634ea052f33332cf9d174e
treee13aeb15a6ddb3075022473e878889879a15e8e3
parenteb35ef2932e42d9b203a8bf9e5dba6f1c666ce1e
libvorbis: fix use of minrate/maxrate AVOptions

- enable the options for audio encoding
- properly check for user-set maxrate
- use correct calling order in vorbis_encode_setup_managed()
libavcodec/libvorbis.c
libavcodec/options.c