[h264d]: fix vdpu2 reg type mistake

Reg of pps_id should be 8-bits long, instead of 5-bits long. This leads
to hard error when pps_id is greater than 31.

Change-Id: I0ecb894a1aa0af4e66bffb97a19c8b4b9ab5a401
Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
This commit is contained in:
Johnson Ding
2019-12-19 20:43:12 +08:00
committed by zhoujing
parent 2c7f6c2d95
commit 711a15ad43

View File

@@ -446,7 +446,7 @@ typedef struct {
RK_U32 reverse0 : 6;
RK_U32 max_refidx0 : 5;
RK_U32 max_refidx1 : 5;
RK_U32 pps_id : 5;
RK_U32 pps_id : 8;
} sw114;
struct {
RK_U32 fieldpic_flag_exist : 1;