mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Rockchip: linux: Fix HEVC decoding
Properly initalize vb2_buffer pointer
This commit is contained in:
parent
bbf7a9f417
commit
c2081ebb70
@ -2316,7 +2316,7 @@ index 000000000000..fd87cbf9c1f8
|
||||
+ const struct v4l2_ctrl_hevc_decode_params *decode_params = run->decode_params;
|
||||
+ const struct v4l2_hevc_dpb_entry *dpb = decode_params->dpb;
|
||||
+ struct vb2_queue *cap_q = &m2m_ctx->cap_q_ctx.q;
|
||||
+ struct vb2_buffer *vb2_buf;
|
||||
+ struct vb2_buffer *vb2_buf = NULL;
|
||||
+
|
||||
+ if (dpb_idx < decode_params->num_active_dpb_entries)
|
||||
+ vb2_buf = vb2_find_buffer(cap_q, dpb[dpb_idx].timestamp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user