PD#SWPL-15094
Problem:
h264 display abnormal when start play or seek.
Solution:
first frame combined with I top field and p bottom field,
set list0 size 1 when decode p field.
Verify:
t962x2
Change-Id: I5b64de94414887e4360d33077cb827ab8a1a2834
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
}
/* that's a definition */
currSlice->listXsize[0] =
- (char)currSlice->num_ref_idx_active[LIST_0];
+ (char) imin(currSlice->listXsize[0],
+ currSlice->num_ref_idx_active[LIST_0]);
CHECK_VALID(currSlice->listXsize[0], 0);
if (h264_debug_flag & PRINT_FLAG_DPB_DETAIL) {
dpb_print(p_H264_Dpb->decoder_index,