diff options
author | Yunfei Dong <yunfei.dong@mediatek.com> | 2019-09-06 14:55:01 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-10-01 22:44:57 +0300 |
commit | dda8415e17c99ad3d6ac56d8aa722198f816fc74 (patch) | |
tree | ebd266e9ff27c70d50d5dc089852baceacc91eec /drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c | |
parent | ba0c8e6eed0712d69a6199d2797a5cc2ee07db57 (diff) | |
download | linux-dda8415e17c99ad3d6ac56d8aa722198f816fc74.tar.xz |
media: mtk-vcodec: vdec: fix incorrect pointer dereference
mtk_q_data::fmt is actually a pointer and must be dereferenced as such.
This went under the radar because mtk_v4l2_debug() evaluates to nothing
unless DEBUG is defined.
[acourbot: split into its own commit]
Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com>
Signed-off-by: Alexandre Courbot <acourbot@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/mtk-vcodec/vdec/vdec_h264_if.c')
0 files changed, 0 insertions, 0 deletions