archived-mpp/mpp
Hongjin Li eed8ec347f fix[hal_av1d_vdpu383]: Fix Roku player crash after seeking.
Platform: RK3576(vdpu383)
Spec: av1

Error case:
When using the Roku player, it crashes after seeking.
Because dxva->frame_refs[mapped_idx].Index == -1, cdf_buf
becomes NULL, which leads to a crash.
The deeper cause is that after seeking, playback doesn’t
start from an I-frame, so the reference frame info isn’t
ready.

Err log:
Null pointer crash stack.

Solution:
Check frame_refs index validity to avoid crashes.

Source:
test_av1_1920x1080.mp4 (Likely reproducible with other AV1 sources.)

Reported-by: Liming Xu <rimon.xu@rock-chips.com>

Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Change-Id: Id55c2b00aa4c42eec2ccd780974e933a052864de
2025-09-30 15:06:42 +08:00
..
base fix[buf_slot]: Clean up invalid logs 2025-09-15 20:07:08 +08:00
codec fix[parser]: Ensure the DTS is transmitted to the frame 2025-09-30 15:05:52 +08:00
common fix[h265d]: Fix rps data update issue 2025-09-30 15:05:34 +08:00
hal fix[hal_av1d_vdpu383]: Fix Roku player crash after seeking. 2025-09-30 15:06:42 +08:00
inc chore[mpp_enc_cfg]: Remove MppEncCodecCfg 2025-09-10 17:39:55 +08:00
legacy [vpu_api] Apk Dynamically set the max and min limit of QP 2025-05-19 08:26:45 +00:00
vproc fix[vdpp] Fix building tests against musl libc 2025-08-25 09:20:56 +08:00
CMakeLists.txt fix[cmake]: Fix static build issue 2025-06-13 11:17:36 +08:00
codecs.cmake [cmake]: enable fast play once in android 2023-03-10 17:21:17 +08:00
mpi.cpp refactor[mpi]: Add ops name when assign for reading friendly 2024-12-25 15:52:10 +08:00
mpp.cpp fix[mpp]: Add null check for sync pkt buffer 2025-09-02 03:26:29 +00:00
mpp_impl.cpp refactor[osal]: Refactor more module from C++ to C 2025-06-12 18:32:09 +08:00
mpp_info.cpp [mpp_info]: Add funciton to read version string 2020-04-28 15:56:13 +08:00
vproc.cmake feat[vdpp]: Add vdpp module and vdpp_test 2024-02-27 18:00:54 +08:00