amstream: fix null pointer crash in dv frame mode. [1/1]
authorshihong.zheng <shihong.zheng@amlogic.com>
Mon, 27 Jul 2020 06:45:45 +0000 (14:45 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Tue, 28 Jul 2020 02:10:53 +0000 (19:10 -0700)
commitaab26b14f6b78a6f2fc8b4f48be9ab4875d50236
treeeccdad99d893e01a7caff7436b3df8a31ef1177b
parente1a96298f7afe491182465a139819a32182a632f
amstream: fix null pointer crash in dv frame mode. [1/1]

PD#SWPL-30431

Problem:
secure dolby vision frame mode crash.

Solution:
no slave vdec in dolby vision frame mode.
so needn't set slave vdec port_flag.

Verify:
ah212

Change-Id: Ib4010e8d243be0fba773b02b0f6984ea9f9dfb67
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
drivers/stream_input/amports/amstream.c