diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-03-18 12:51:48 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-03-18 14:06:59 +0100 |
commit | 0f6f5e6f16559cbcedb9780e05ca3de2ae08a3ac (patch) | |
tree | f4b9a91562f2955f5b519244f740056b20d23fe2 /libavcodec/vorbisenc.c | |
parent | fdffaa6b11eea2082c7a61ba2524d224039568e9 (diff) | |
download | ffmpeg-0f6f5e6f16559cbcedb9780e05ca3de2ae08a3ac.tar.gz |
vorbisenc: set quality to a reasonable default.
Fixed Ticket847
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vorbisenc.c')
-rw-r--r-- | libavcodec/vorbisenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vorbisenc.c b/libavcodec/vorbisenc.c index 161cc9b6fb..dfb4c30e95 100644 --- a/libavcodec/vorbisenc.c +++ b/libavcodec/vorbisenc.c @@ -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) |