Skip to content
Merged
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 decoder/ihevcd_parse_headers.c
Original file line number Diff line number Diff line change
Expand Up @@ -1917,7 +1917,7 @@ IHEVCD_ERROR_T ihevcd_parse_sps(codec_t *ps_codec)
for(i = 0; i < ps_sps->i1_num_short_term_ref_pic_sets; i++)
{
ret = ihevcd_short_term_ref_pic_set(ps_bitstrm, &ps_sps->as_stref_picset[0], ps_sps->i1_num_short_term_ref_pic_sets, i, &ps_sps->as_stref_picset[i]);
if (ret != IHEVCD_SUCCESS)
if (ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS)
{
return ret;
}
Expand Down
2 changes: 1 addition & 1 deletion decoder/ihevcd_parse_slice_header.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ IHEVCD_ERROR_T ihevcd_parse_slice_header(codec_t *ps_codec,
ps_sps->i1_num_short_term_ref_pic_sets,
ps_sps->i1_num_short_term_ref_pic_sets,
&ps_slice_hdr->s_stref_picset);
if (ret != IHEVCD_SUCCESS)
if (ret != (IHEVCD_ERROR_T)IHEVCD_SUCCESS)
{
return ret;
}
Expand Down
2 changes: 1 addition & 1 deletion encoder/ihevce_rc_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -3031,7 +3031,7 @@ WORD32 ihevce_rc_get_pic_quant(

/*use previous frame qp of same pic type or SCD i frame qp with offset whichever is maximum*/
/*For field case adding of grater than 4 results in the qp increasing greatly when compared to previous pics/fields*/
if(rc_pic_type <= FIELD_OFFSET)
if((int)rc_pic_type <= (int)FIELD_OFFSET)
cur_hevc_qp = I_hevc_qp + rc_pic_type;
else
cur_hevc_qp = I_hevc_qp + (rc_pic_type - FIELD_OFFSET);
Expand Down
Loading