decoder: fix a kernel panic [1/1]
authorgan.zhang <gan.zhang@amlogic.com>
Tue, 8 Dec 2020 12:11:03 +0000 (20:11 +0800)
committergan.zhang <gan.zhang@amlogic.com>
Wed, 13 Jan 2021 06:45:14 +0000 (14:45 +0800)
commited38f8c382cdf45604b126f43508bc41e4da2128
treee4b3b2885bd7db34ef66b7dffa24032fd50bff88
parentf2a8134a36aa2836f0deac2613faab92b898810e
decoder: fix a kernel panic [1/1]

PD#SWPL-38642

Problem:
Cause crash when vf in null

Solution:
Check for null pointer.

Verify:
AH212

Change-Id: I41583004e735c40c71e50de6818e6f097a68a6a0
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
drivers/frame_provider/decoder/avs2/vavs2.c
drivers/frame_provider/decoder/h264_multi/vmh264.c
drivers/frame_provider/decoder/mjpeg/vmjpeg_multi.c
drivers/frame_provider/decoder/mpeg4/vmpeg4_multi.c
drivers/frame_provider/decoder/vp9/vvp9.c