Decoder: Fix initialization of ps_next_dpb during reference list creation am: 54cbe1b29b am: a13436200c am: e057ae1738 am: 5fc3db621b am: 31e1ffeacb am: 53b01d5b00 am: d1dce9bafb
am: 5a2732bb3f
Change-Id: Ia9e41d39989a4bee2eea458a9c5cae91f1715396
This commit is contained in:
commit
e10b29d197
1 changed files with 2 additions and 1 deletions
|
|
@ -1465,10 +1465,11 @@ void ih264d_init_ref_idx_lx_b(dec_struct_t *ps_dec)
|
||||||
/* 2.3 Arrange all Long term buffers in ascending order, in LongtermIndex */
|
/* 2.3 Arrange all Long term buffers in ascending order, in LongtermIndex */
|
||||||
/* Start from ST head */
|
/* Start from ST head */
|
||||||
u1_num_short_term_bufs = u1_L1;
|
u1_num_short_term_bufs = u1_L1;
|
||||||
ps_next_dpb = ps_dpb_mgr->ps_dpb_ht_head;
|
|
||||||
for(u1_lt_index = u1_min_lt_index; u1_lt_index <= u1_max_lt_index;
|
for(u1_lt_index = u1_min_lt_index; u1_lt_index <= u1_max_lt_index;
|
||||||
u1_lt_index++)
|
u1_lt_index++)
|
||||||
{
|
{
|
||||||
|
ps_next_dpb = ps_dpb_mgr->ps_dpb_ht_head;
|
||||||
for(i = 0; i < ps_dpb_mgr->u1_num_lt_ref_bufs; i++)
|
for(i = 0; i < ps_dpb_mgr->u1_num_lt_ref_bufs; i++)
|
||||||
{
|
{
|
||||||
if(ps_next_dpb->u1_lt_idx == u1_lt_index)
|
if(ps_next_dpb->u1_lt_idx == u1_lt_index)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue