fix[sys_cfg]: Fix ver stride calculation issue.

Platform: General
Spec: all

Reported-by: Jinsen Chen <kevin.chen@rock-chips.com> redmine #539176

Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Change-Id: I0458c4814f04b73cd5955e79ceea39fde21b8fe9
This commit is contained in:
Hongjin Li 2025-04-11 14:50:12 +08:00
parent 67adfd36cc
commit 39e40c3aa8

View file

@ -443,6 +443,7 @@ MPP_RET mpp_sys_dec_buf_chk_proc(MppSysDecBufChkCfg *cfg)
aligned_pixel_byte = cfg->h_stride_by_byte ? cfg->h_stride_by_byte :
aligned_pixel * depth / 8;
aligned_height = cfg->v_stride ? cfg->v_stride : aligned_height;
switch (type) {
case MPP_VIDEO_CodingHEVC : {