mirror of
https://github.com/ittiam-systems/libhevc.git
synced 2026-08-15 15:22:36 +07:00
decoder: Fix valid SPS check in parsing SEI
When parsing SEI, ensure there is at least one valid SPS. Test: poc in bug Bug: 134420911 Change-Id: If3aa142b7fac324f8416e647572dfb002f56e06d
This commit is contained in:
parent
f82399d86a
commit
61646846b3
1 changed files with 1 additions and 1 deletions
|
|
@ -2668,7 +2668,7 @@ void ihevcd_parse_sei_payload(codec_t *ps_codec,
|
|||
break;
|
||||
}
|
||||
}
|
||||
if(NULL == ps_sps)
|
||||
if(!ps_sps->i1_sps_valid)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue