Revision 46f83e5b libavcodec/libx264.c

View differences:

libavcodec/libx264.c
144 144
    }
145 145

  
146 146
    x4->out_pic.key_frame = pic_out.b_keyframe;
147
    x4->out_pic.quality   = (pic_out.i_qpplus1 - 1) * FF_QP2LAMBDA;
147
    if (bufsize)
148
        x4->out_pic.quality = (pic_out.i_qpplus1 - 1) * FF_QP2LAMBDA;
148 149

  
149 150
    return bufsize;
150 151
}

Also available in: Unified diff