The Vorbis encoder is always VBR.
Unified · Split
| @@ -1180,6 +1180,7 @@ static av_cold int vorbis_encode_init(AVCodecContext *avccontext) · 1179 unmodified lines | ||
| 1180 | 1180 | if ((ret = create_vorbis_context(venc, avccontext)) < 0) |
| 1181 | 1181 | goto error; |
| 1182 | 1182 | |
| 1183 | + avccontext->bit_rate = 0; | |
| 1183 | 1184 | if (avccontext->flags & CODEC_FLAG_QSCALE) |
| 1184 | 1185 | venc->quality = avccontext->global_quality / (float)FF_QP2LAMBDA; |
| 1185 | 1186 | else |