mmpeg4: CB1 mpeg4 crc check fail. [1/2]
authorgan.zhang <gan.zhang@amlogic.com>
Tue, 10 Aug 2021 13:30:22 +0000 (21:30 +0800)
committerLiang Ji <liang.ji@amlogic.com>
Wed, 18 Aug 2021 05:36:53 +0000 (13:36 +0800)
commit6ab9bc8eb177dbe194679322a20bb69b85b8ba3b
tree091b10c5efa8df4ddd06800b79f5b2e3e8e3cc04
parent3ae91533de5e41bcea23892a736e426463a3641d
mmpeg4: CB1 mpeg4 crc check fail. [1/2]

PD#SWPL-56277

Problem:
The mPEG4 decoder working buffer is not initialized
before decoding and it may cause the CRC check
to be affected by dirty data.

Solution:
Clear decoder internal working buffer before decoding.

Verify:
ADT3

Change-Id: I5ae0f1951705e332263e17720237936d523cab52
Signed-off-by: gan.zhang <gan.zhang@amlogic.com>
drivers/frame_provider/decoder/mpeg4/vmpeg4_multi.c