From 27b0d365e8a8e605c84d4c33a74326fb0a8be334 Mon Sep 17 00:00:00 2001 From: Frank Barchard Date: Thu, 3 Jun 2010 23:53:10 +0000 Subject: [PATCH] Raise default vorbis encoding quality. Patch by Frank Barchard, fbarchard google com Originally committed as revision 23460 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vorbis_enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vorbis_enc.c b/libavcodec/vorbis_enc.c index b18f6531c6..f6385fdc96 100644 --- a/libavcodec/vorbis_enc.c +++ b/libavcodec/vorbis_enc.c @@ -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);