Mercurial > libavcodec.hg
changeset 7868:850abcd10e19 libavcodec
sync to latest x264 git, field was renamed
author | bcoudurier |
---|---|
date | Tue, 16 Sep 2008 01:13:55 +0000 |
parents | 2a611af7bcbe |
children | cd18f66b3663 |
files | libx264.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libx264.c Tue Sep 16 00:31:32 2008 +0000 +++ b/libx264.c Tue Sep 16 01:13:55 2008 +0000 @@ -162,7 +162,7 @@ x4->params.i_bframe = avctx->max_b_frames; x4->params.b_cabac = avctx->coder_type == FF_CODER_TYPE_AC; - x4->params.b_bframe_adaptive = avctx->b_frame_strategy; + x4->params.i_bframe_adaptive = avctx->b_frame_strategy; x4->params.i_bframe_bias = avctx->bframebias; x4->params.b_bframe_pyramid = avctx->flags2 & CODEC_FLAG2_BPYRAMID; avctx->has_b_frames= avctx->flags2 & CODEC_FLAG2_BPYRAMID ? 2 : !!avctx->max_b_frames;