mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-19 15:34:32 +08:00
[h264d] conceal error: when long_term_idx has not value, use max_num_ref_frams instead.
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@585 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
@@ -1130,6 +1130,10 @@ static MPP_RET adaptive_memory_management(H264_DpbBuf_t *p_Dpb, H264_StorePic_t
|
||||
p_Vid->last_has_mmco_5 = 1;
|
||||
break;
|
||||
case 6:
|
||||
//!< conceal max_long_term_frame_idx_plus1
|
||||
if (!tmp_drpm->max_long_term_frame_idx_plus1) {
|
||||
tmp_drpm->max_long_term_frame_idx_plus1 = p_Dpb->num_ref_frames;
|
||||
}
|
||||
mm_mark_current_picture_long_term(p_Dpb, p, tmp_drpm->long_term_frame_idx);
|
||||
check_num_ref(p_Dpb);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user