mirror of
https://github.com/ittiam-systems/libhevc.git
synced 2026-08-15 15:22:36 +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 am: a7c7893ba1 am: 7bcc6d9e73 am: 7c9fff3553
Change-Id: I28d067e1f1da7038a89c9effffeb8b6603e0700d
This commit is contained in:
commit
e3b1e96886
1 changed files with 2 additions and 0 deletions
|
|
@ -1324,6 +1324,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