mirror of
https://github.com/ittiam-systems/libhevc.git
synced 2026-08-15 23:32:35 +07:00
[automerger] Check limits for log2_max_pic_order_cnt_lsb_minus4 in sps am: 4d32ff55cf am: 1011e9b3e7 am: 840115bf1a am: 8a4369a73f am: 5dd91cba1c am: db58269ba7
Change-Id: If3ab6137a30512fd6ad2f135fd4494e719c01a5b
This commit is contained in:
commit
a7c7893ba1
1 changed files with 2 additions and 0 deletions
|
|
@ -1322,6 +1322,8 @@ IHEVCD_ERROR_T ihevcd_parse_sps(codec_t *ps_codec)
|
|||
return IHEVCD_UNSUPPORTED_BIT_DEPTH;
|
||||
|
||||
UEV_PARSE("log2_max_pic_order_cnt_lsb_minus4", value, ps_bitstrm);
|
||||
if(value < 0 || value > 12)
|
||||
return IHEVCD_INVALID_PARAMETER;
|
||||
ps_sps->i1_log2_max_pic_order_cnt_lsb = value + 4;
|
||||
|
||||
BITS_PARSE("sps_sub_layer_ordering_info_present_flag", value, ps_bitstrm, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue