mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-08 18:40:03 +08:00
[h264d_parse]: skip sp/si slice
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com> Change-Id: I86622ad339594f4d7b613ee5603cd6d11bb9b428
This commit is contained in:
@@ -450,6 +450,10 @@ MPP_RET process_slice(H264_SLICE_t *currSlice)
|
||||
READ_UE(p_bitctx, &currSlice->start_mb_nr); //!< first_mb_in_slice
|
||||
READ_UE(p_bitctx, &temp); //!< slice_type
|
||||
p_Vid->slice_type = currSlice->slice_type = temp % 5;
|
||||
if (p_Vid->slice_type == H264_SP_SLICE || p_Vid->slice_type == H264_SI_SLICE) {
|
||||
H264D_WARNNING("sp or si slice not support\n");
|
||||
goto __FAILED;
|
||||
}
|
||||
READ_UE(p_bitctx, &currSlice->pic_parameter_set_id);
|
||||
init_slice_parmeters(currSlice);
|
||||
FUN_CHECK(ret = set_slice_user_parmeters(currSlice));
|
||||
|
Reference in New Issue
Block a user