media: fix dec_slt bug. [2/2]
authorgan.zhang <gan.zhang@amlogic.com>
Wed, 11 Nov 2020 12:22:33 +0000 (20:22 +0800)
committergan.zhang <gan.zhang@amlogic.com>
Mon, 16 Nov 2020 06:16:45 +0000 (14:16 +0800)
commit1767d9d3e3bd4e82b82dd9cc47d31e61e5792966
treed1b0b6844484832d4dfe5e004c2bb6f8cd3b62c4
parent79434c52a21aa6b503524a6733c0a8abb7d9cca0
media: fix dec_slt bug. [2/2]

PD#OPS-1197

Problem:
When the first frame is wrong, the test result in dec_slt is pass

Solution:
1.When a comparison crc error occurs, usr_cmp_result is set to -1.
2.Reduces the trigger of dump yuv.

Verify:
AB311

Change-Id: I5b89ad353e08017b182510345e2541de99a92223
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
drivers/frame_provider/decoder/utils/frame_check.c