vmh264: fix bug of abnormal cropping. [1/1]
authormiaohong chen <miaohong.chen@amlogic.com>
Mon, 27 Jul 2020 08:52:31 +0000 (16:52 +0800)
committerGan Zhang <gan.zhang@amlogic.com>
Tue, 28 Jul 2020 10:31:46 +0000 (18:31 +0800)
commit4ea926a49ae2643832b1c78e05f0d8a76c7374c7
treeaa28dbdfad42a20f05d464109820130e235c2902
parent95ac8483ee82404a213828147ec2bdc6e6827462
vmh264: fix bug of abnormal cropping. [1/1]

PD#SWPL-28943

Problem:
chroma_format_idc may not exist, causing misuse,
resulting in abnormal crop

Solution:
According to grammar rules,
when chroma_format_idc does not exist, set it to 1.

Verify:
u212

Change-Id: Iba5624a7d3b542b00b677d1c062dd23af6b0131d
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
drivers/frame_provider/decoder/h264_multi/vmh264.c