mpeg12: fix frame mode frame drop. [1/1]
authorshihong.zheng <shihong.zheng@amlogic.com>
Mon, 1 Jun 2020 05:56:45 +0000 (13:56 +0800)
committerShihong Zheng <shihong.zheng@amlogic.com>
Mon, 1 Jun 2020 14:27:39 +0000 (07:27 -0700)
commitbc26b20a32aa52a80c0ecd83126bc49355815721
treec65a7684e53bfe96cc81440c9bb8cb3138dbc09a
parentfa7c05487366fcd7af13b12cc98f24d7a4ea814b
mpeg12: fix frame mode frame drop. [1/1]

PD#SWPL-25896

Problem:
mpeg12 frame mode drop frame abnormal.

Solution:
the pb_skip old code caused error drop,
so remove it.
add some static for global var.

Verify:
u212

Change-Id: I84712cfe1aeeaefa2f43165aaf9d1e4b39a6092e
Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
drivers/frame_provider/decoder/avs_multi/avs_multi.c
drivers/frame_provider/decoder/h265/vh265.c
drivers/frame_provider/decoder/mpeg12/vmpeg12_multi.c
drivers/frame_provider/decoder/utils/frame_check.c