Decoder: Fixed an out of bound access while parsing SEI am: 99a85bb469 am: 1a77185504 am: 9f0eec950d am: 66fc94467f am: 7697718da3 am: 1ee70550c4
am: ab51c1716f
Change-Id: I92e1846421c96b47b99c5436e7a9c53c60457439
This commit is contained in:
commit
43ff3318ce
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ WORD32 ih264d_parse_buffering_period(buf_period_t *ps_buf_prd,
|
||||||
UNUSED(ps_buf_prd);
|
UNUSED(ps_buf_prd);
|
||||||
u1_seq_parameter_set_id = ih264d_uev(pu4_bitstrm_ofst,
|
u1_seq_parameter_set_id = ih264d_uev(pu4_bitstrm_ofst,
|
||||||
pu4_bitstrm_buf);
|
pu4_bitstrm_buf);
|
||||||
if(u1_seq_parameter_set_id > MAX_NUM_SEQ_PARAMS)
|
if(u1_seq_parameter_set_id >= MAX_NUM_SEQ_PARAMS)
|
||||||
return ERROR_INVALID_SEQ_PARAM;
|
return ERROR_INVALID_SEQ_PARAM;
|
||||||
ps_seq = &ps_dec->ps_sps[u1_seq_parameter_set_id];
|
ps_seq = &ps_dec->ps_sps[u1_seq_parameter_set_id];
|
||||||
if(TRUE != ps_seq->u1_is_valid)
|
if(TRUE != ps_seq->u1_is_valid)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue