amstream: fix crashed after video port init failed. [1/1]
authorshihong.zheng <shihong.zheng@amlogic.com>
Tue, 8 Dec 2020 02:56:51 +0000 (10:56 +0800)
committerShihong Zheng <shihong.zheng@amlogic.com>
Sat, 19 Dec 2020 01:38:44 +0000 (17:38 -0800)
commit550dc42835e20600f06fbbf0700893b40eeceda1
treedfbd3c4c5f6169e429ffd954f44cff55f0e5538d
parentbeec8b33a15e85a9a9431176c4527b508a824530
amstream: fix crashed after video port init failed. [1/1]

PD#SWPL-38536

Problem:
crash after video port init failed.

Solution:
fix bug when port init failed.

Verify:
ah212

Change-Id: Icc2d40a4899bf7d8a780a50178df782cec3a2da0
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
drivers/amvdec_ports/aml_vcodec_adapt.c
drivers/frame_provider/decoder/utils/vdec.c
drivers/stream_input/amports/amstream.c