Revision 0c32e19d libavcodec/dxva2_h264.c

View differences:

libavcodec/dxva2_h264.c
225 225
        slice->num_ref_idx_l0_active_minus1 = h->ref_count[0] - 1;
226 226
    if (h->list_count > 1)
227 227
        slice->num_ref_idx_l1_active_minus1 = h->ref_count[1] - 1;
228
    slice->slice_alpha_c0_offset_div2   = h->slice_alpha_c0_offset / 2;
229
    slice->slice_beta_offset_div2       = h->slice_beta_offset / 2;
228
    slice->slice_alpha_c0_offset_div2   = h->slice_alpha_c0_offset / 2 - 26;
229
    slice->slice_beta_offset_div2       = h->slice_beta_offset     / 2 - 26;
230 230
    slice->Reserved8Bits                = 0;
231 231

  
232 232
    for (list = 0; list < 2; list++) {

Also available in: Unified diff