Commit 0f6f5e6f authored by Michael Niedermayer's avatar Michael Niedermayer

vorbisenc: set quality to a reasonable default.

Fixed Ticket847
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent fdffaa6b
......@@ -1164,7 +1164,7 @@ static av_cold int vorbis_encode_init(AVCodecContext *avccontext)
if (avccontext->flags & CODEC_FLAG_QSCALE)
venc->quality = avccontext->global_quality / (float)FF_QP2LAMBDA / 10.;
else
venc->quality = 0.03;
venc->quality = 8;
venc->quality *= venc->quality;
if ((ret = put_main_header(venc, (uint8_t**)&avccontext->extradata)) < 0)
......
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