vdec: check the pointer before using it [1/1]
authorapollo.ling <apollo.ling@amlogic.com>
Thu, 24 Dec 2020 12:15:19 +0000 (20:15 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Fri, 25 Dec 2020 08:01:26 +0000 (00:01 -0800)
commitf4ee88db4efb17a46abcfda29d0a11b156d104e7
tree479bfa7485e07eb5b50bbae1d35cfe14e72a9de0
parente6b95fd8ea67c54d1226d4a2a40828f7d4ce12d4
vdec: check the pointer before using it [1/1]

PD#SWPL-38329

Problem:
play special stream,DUT reboot when stream replay

Solution:
Check the pointer before using it

Verify:
ah212

Change-Id: I53a1e2643f00513cae307aa61ed90f32c71bba65
Signed-off-by: apollo.ling <apollo.ling@amlogic.com>
drivers/frame_provider/decoder/h264_multi/h264_dpb.c