h264: CB2 error stream stuck [1/1]

PD#SWPL-194603

Problem:
The stream has error pic_struct 5 and 6, causing buf not recycle.

Solution:
Do some restrictions when Pic_struct 5 and 6 plus ref.

Verify:
S905X4

Change-Id: Ie7dc3b8db4dea07b38bbdfda78d93bed99ed926e
Signed-off-by: yuna.liu <yuna.liu@amlogic.com>
1 file changed