Commit d2ad6a20 authored by Loren Merritt's avatar Loren Merritt

10l (214 wrote wrong DPB size in SPS -> B-pyramid broke)


git-svn-id: svn://svn.videolan.org/x264/trunk@216 df754926-b1dd-0310-bc7b-ec298dee348c
parent 7229a11c
......@@ -79,8 +79,8 @@ void x264_sps_init( x264_sps_t *sps, int i_id, x264_param_t *param )
}
sps->vui.i_num_reorder_frames = param->b_bframe_pyramid ? 2 : param->i_bframe ? 1 : 0;
sps->vui.i_max_dec_frame_buffering =
sps->i_num_ref_frames = X264_MIN(16, param->i_frame_reference + sps->vui.i_num_reorder_frames + 1);
sps->i_num_ref_frames = X264_MIN(16, param->i_frame_reference + sps->vui.i_num_reorder_frames);
sps->vui.i_max_dec_frame_buffering = sps->i_num_ref_frames + 1;
sps->b_gaps_in_frame_num_value_allowed = 0;
sps->i_mb_width = ( param->i_width + 15 ) / 16;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment