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
Change-Id: Ie84e14343f217221c46e64c389ae14c75993f9b8
This commit is contained in:
commit
356364edaa
1 changed files with 6 additions and 0 deletions
|
|
@ -1228,6 +1228,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