Revision 8d38e5e5 libavcodec/vorbis_enc.c

View differences:

libavcodec/vorbis_enc.c
1057 1057
{
1058 1058
    venc_context_t * venc = avccontext->priv_data;
1059 1059

  
1060
    if (avccontext->channels != 2) return -1;
1061

  
1060 1062
    create_vorbis_context(venc, avccontext);
1061 1063

  
1062 1064
    if (avccontext->flags & CODEC_FLAG_QSCALE) venc->quality = avccontext->global_quality / (float)FF_QP2LAMBDA / 100.;

Also available in: Unified diff