Ticket #7920: libx264_0_83.diff

File libx264_0_83.diff, 624 bytes (added by eltorio@…, 16 years ago)

change in libavcodec for latest libx264 support

  • libs/libavcodec/libx264.c

    old new  
    187187    x4->params.b_cabac = avctx->coder_type == FF_CODER_TYPE_AC;
    188188    x4->params.i_bframe_adaptive = avctx->b_frame_strategy;
    189189    x4->params.i_bframe_bias = avctx->bframebias;
    190     x4->params.b_bframe_pyramid = avctx->flags2 & CODEC_FLAG2_BPYRAMID;
     190    x4->params.i_bframe_pyramid = avctx->flags2 & CODEC_FLAG2_BPYRAMID;
    191191    avctx->has_b_frames= avctx->flags2 & CODEC_FLAG2_BPYRAMID ? 2 : !!avctx->max_b_frames;
    192192
    193193    x4->params.i_keyint_min = avctx->keyint_min;