Commit 3cdb024c authored by Segher Boessenkool's avatar Segher Boessenkool

order of minimum/maximum bitrates was swapped.

svn path=/trunk/vorbis-tools/; revision=2878
parent d30a56e7
......@@ -63,9 +63,9 @@ int oe_encode(oe_enc_opt *opt)
else
{
if(vorbis_encode_init(&vi, opt->channels, opt->rate,
opt->min_bitrate>0?opt->min_bitrate*1000:-1,
opt->max_bitrate>0?opt->max_bitrate*1000:-1,
opt->bitrate*1000,
opt->max_bitrate>0?opt->max_bitrate*1000:-1))
opt->min_bitrate>0?opt->min_bitrate*1000:-1))
{
fprintf(stderr, "Mode initialisation failed: invalid parameters for bitrate\n");
vorbis_info_clear(&vi);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment