diff options
author | Mans Rullgard <mans@mansr.com> | 2011-10-11 16:00:21 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-04 01:08:09 +0100 |
commit | 1c3d46a9246af544f3e9b3b81fe8589e58756484 (patch) | |
tree | 552d323db4293bdfb1969baf7ed74138ec1495fc /libavdevice/dshow_common.c | |
parent | 800ab099e332c93c90634b14309c5d56659223a8 (diff) | |
download | ffmpeg-1c3d46a9246af544f3e9b3b81fe8589e58756484.tar.gz |
h264: fix HRD parameters parsing
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: Mans Rullgard <mans@mansr.com>
(cherry picked from commit fdba370f8a1bdfc22ecbdf3c7148c2f8680a4ac4)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice/dshow_common.c')
0 files changed, 0 insertions, 0 deletions