Merge "Decoder: Fix for handling invalid intra mode" into mnc-dev
am:37579218eb* commit '37579218eb': Decoder: Fix for handling invalid intra mode Change-Id: Ia41f2b0c19b83d3508044487469176894ba898d4
This commit is contained in:
commit
af63f6f357
1 changed files with 2 additions and 0 deletions
|
|
@ -1242,6 +1242,7 @@ WORD32 ih264d_process_intra_mb(dec_struct_t * ps_dec,
|
|||
+ (pu1_rem_intra4x4_pred_mode[u1_cur_sub_block]
|
||||
>= i1_intra_pred);
|
||||
}
|
||||
i1_intra_pred = CLIP3(0, 8, i1_intra_pred);
|
||||
{
|
||||
UWORD8 u1_err_code = pu1_intra_err_codes[i1_intra_pred];
|
||||
|
||||
|
|
@ -1650,6 +1651,7 @@ WORD32 ih264d_process_intra_mb(dec_struct_t * ps_dec,
|
|||
+ (pu1_rem_intra4x4_pred_mode[u1_sub_mb_num]
|
||||
>= i1_intra_pred);
|
||||
}
|
||||
i1_intra_pred = CLIP3(0, 8, i1_intra_pred);
|
||||
{
|
||||
UWORD8 u1_err_code = pu1_intra_err_codes[i1_intra_pred];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue