Skip to content

Commit

Permalink
libavc: Fix poc counts for idr slice
Browse files Browse the repository at this point in the history
Test: Build
Change-Id: Ic9212b86efbc54724c09164776169bfeafb15d7b
  • Loading branch information
suyogpawar20 authored and harishdm committed Aug 7, 2024
1 parent bc0de21 commit 42068b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions decoder/ih264d_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ WORD32 ih264d_decode_pic_order_cnt(UWORD8 u1_is_idr_slice,
/* POC TYPE 0 */
if(u1_is_idr_slice)
{
ps_prev_poc->i4_pic_order_cnt_msb = 0;
ps_prev_poc->i4_pic_order_cnt_lsb = 0;
ps_cur_poc->i4_pic_order_cnt_msb = 0;
ps_cur_poc->i4_pic_order_cnt_lsb = 0;
}
if(ps_prev_poc->u1_mmco_equalto5)
{
Expand Down

0 comments on commit 42068b0

Please sign in to comment.