Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src_base/xevd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1883,7 +1883,7 @@ int xevd_dec_nalu(XEVD_CTX * ctx, XEVD_BITB * bitb, XEVD_STAT * stat)
ret = xevd_picman_refp_init(&ctx->dpm, ctx->sps->max_num_ref_pics, sh->slice_type, ctx->poc.poc_val, ctx->nalu.nuh_temporal_id, ctx->last_intra_poc, ctx->refp);
xevd_assert_rv(ret == XEVD_OK, ret);

if (ctx->num_ctb == ctx->f_lcu)
if (ctx->num_ctb == (u32)ctx->f_lcu)
{
/* get available frame buffer for decoded image */
ctx->pic = xevd_picman_get_empty_pic(&ctx->dpm, &ret, ctx->internal_codec_bit_depth);
Expand Down
2 changes: 1 addition & 1 deletion src_main/xevdm.c
Original file line number Diff line number Diff line change
Expand Up @@ -3102,7 +3102,7 @@ int xevd_dec_nalu(XEVD_CTX * ctx, XEVD_BITB * bitb, XEVD_STAT * stat)
}
xevd_assert_rv(ret == XEVD_OK, ret);

if (ctx->num_ctb == ctx->f_lcu)
if (ctx->num_ctb == (u32)ctx->f_lcu)
{
/* get available frame buffer for decoded image */
ctx->pic = xevdm_picman_get_empty_pic(&mctx->dpm, &ret, ctx->internal_codec_bit_depth);
Expand Down
2 changes: 1 addition & 1 deletion src_main/xevdm_eco.c
Original file line number Diff line number Diff line change
Expand Up @@ -2209,7 +2209,7 @@ u32 xevdm_xReadTruncBinCode(XEVD_BSR * bs, const int uiMaxSymbol)
int uiVal = 1 << uiThresh;
int b = uiMaxSymbol - uiVal;
xevd_bsr_read(bs, &ruiSymbol, uiThresh); //xReadCode( uiThresh, ruiSymbol );
if(ruiSymbol >= uiVal - b)
if(ruiSymbol >= (u32)(uiVal - b))
{
u32 uiSymbol;
xevd_bsr_read1(bs, &uiSymbol); //xReadFlag( uiSymbol );
Expand Down