mirror of
https://github.com/ittiam-systems/libhevc.git
synced 2026-08-15 23:32:35 +07:00
Merge "memset SPS to zero" into lmp-dev am: 31e21c5134 am: c1c11822d6 am: bb4f42afa0 am: 356364edaa am: 5dbf371a33 am: 1309c741ea am: 8dad755531 am: e36fc2b9a6
am: 4a3432e190
Change-Id: I048c422f6c042e736c90e700e34e17d943850ec8
This commit is contained in:
commit
803f8ff428
1 changed files with 6 additions and 0 deletions
|
|
@ -1230,6 +1230,12 @@ IHEVCD_ERROR_T ihevcd_parse_sps(codec_t *ps_codec)
|
|||
|
||||
|
||||
ps_sps = (ps_codec->s_parse.ps_sps_base + MAX_SPS_CNT - 1);
|
||||
/* Reset SPS to zero */
|
||||
{
|
||||
WORD16 *pi2_scaling_mat = ps_sps->pi2_scaling_mat;
|
||||
memset(ps_sps, 0, sizeof(sps_t));
|
||||
ps_sps->pi2_scaling_mat = pi2_scaling_mat;
|
||||
}
|
||||
ps_sps->i1_sps_id = sps_id;
|
||||
ps_sps->i1_vps_id = vps_id;
|
||||
ps_sps->i1_sps_max_sub_layers = sps_max_sub_layers;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue