aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2010-06-03 23:53:10 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-06-03 23:53:10 +0000
commit27b0d365e8a8e605c84d4c33a74326fb0a8be334 (patch)
tree690b8180c304b297c50c1996cb903746e25e52f4
parentbb756b2fbc64ae9984bdffddf18546b0d9f6a4dd (diff)
downloadffmpeg-27b0d365e8a8e605c84d4c33a74326fb0a8be334.tar.gz
Raise default vorbis encoding quality.
Patch by Frank Barchard, fbarchard google com Originally committed as revision 23460 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/vorbis_enc.c2
1 files changed, 1 insertions, 1 deletions
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);