• Mans Rullgard's avatar
    h264: fix HRD parameters parsing · fdba370f
    Mans Rullgard authored
    The bit_rate_value_minus1 and cpb_size_value_minus1 elements
    allow a wider range than get_ue_golomb() supports.  This
    adds a get_ue_golomb_long() function supporting up to 31
    leading zeros, which is the maximum for these syntax
    elements, and uses it in decode_hrd_parameters().
    Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
    fdba370f
golomb.h 12.7 KB