Raise default vorbis encoding quality.

Patch by Frank Barchard, fbarchard google com

Originally committed as revision 23460 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Frank Barchard 2010-06-03 23:53:10 +00:00 committed by Carl Eugen Hoyos
parent bb756b2fbc
commit 27b0d365e8

View File

@ -955,7 +955,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 = 1.;
venc->quality = 0.03;
venc->quality *= venc->quality;
avccontext->extradata_size = put_main_header(venc, (uint8_t**)&avccontext->extradata);