[PATCH v3 0/2] initialize vcodec scalar variable
Irui Wang
irui.wang at mediatek.com
Sun Sep 7 02:35:55 PDT 2025
Initialize vcodec structures:
patch 1 add missing initialization to fix the encoder's UNINIT checker
issue.
patch 2 converts memset() to = { } for other vcodec structures.
Changes in v3:
- Converts memset() to = { }
- Combined with Qianfeng's patch as v3
- Link to v2: https://patchwork.linuxtv.org/project/linux-media/patch/20250715081547.18076-1-irui.wang@mediatek.com/
- Link to Qianfeng's v1: https://patchwork.linuxtv.org/project/linux-media/patch/20250803135514.118892-1-rongqianfeng@vivo.com/
Changes in v2:
- Add Fixes tag, update commit message
- Remove unnecessary memset
- Move memset to before the first usage
Irui Wang (1):
media: mediatek: encoder: Fix uninitialized scalar variable issue
Qianfeng Rong (1):
media: mediatek: vcodec: use = { } instead of memset()
.../mediatek/vcodec/decoder/vdec/vdec_vp9_if.c | 3 +--
.../mediatek/vcodec/decoder/vdec_vpu_if.c | 12 ++++--------
.../mediatek/vcodec/encoder/mtk_vcodec_enc.c | 12 +++++-------
.../mediatek/vcodec/encoder/venc_vpu_if.c | 15 +++++----------
4 files changed, 15 insertions(+), 27 deletions(-)
--
2.45.2
More information about the Linux-mediatek
mailing list