Community
cancel
Showing results for 
Search instead for 
Did you mean: 
slayer583
Beginner
56 Views

Some question for H264 sample codes

Hi, experts.

I'm seeing sample code of H264 provided by Intel IPP.

Ithink that I found any typos,isDisposable() function in umc_h264_enc_cpb.h.

bool isDisposable()
{
return (!m_isShortTermRef[0] &&
!m_isShortTermRef[1] &&
!m_isLongTermRef[0] &&
!m_isLongTermRef[0] &&
m_wasEncoded );
}

I think that second !m_isLongTermRef[0] ismust corrected to !m_isLongTermRef[1].

What is right code? !m_isLongTermRef[0] or !m_isLongTermRef[1]?

Please let me know whatcorrect is.

Thanks,

TG

0 Kudos
1 Reply
Vladimir_Dudnik
Employee
56 Views

Hi TG,

our expert comment is that it is typo, but we do not use long term refs currently. Thanks for notice on that, we will correct this.

Regards,
Vladimir

Reply