diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-01-04 23:05:10 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-01-11 23:03:58 +0000 |
commit | 89725a8512721fffd190021ded2d3f5b42e20e2a (patch) | |
tree | 85a2924c63bbbcc39fec8eaa66880464e4c013a7 /libavdevice/oss.h | |
parent | a3c3a5eac20a51d402c332cdf5220fff40a7943f (diff) | |
download | ffmpeg-89725a8512721fffd190021ded2d3f5b42e20e2a.tar.gz |
vaapi_h264: Scale log2_max_pic_order_cnt_lsb with max_b_frames
Before this change, it was possible to overflow pic_order_cnt_lsb and
generate a stream with invalid POC numbering. This makes sure that
the field is large enough that a single IDR B* P sequence uses fewer
than half the available POC lsb values.
Diffstat (limited to 'libavdevice/oss.h')
0 files changed, 0 insertions, 0 deletions