vdec: h265 check and avoid NULL pointer [1/1]
authorapollo.ling <apollo.ling@amlogic.com>
Wed, 8 Jul 2020 13:25:12 +0000 (21:25 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Tue, 21 Jul 2020 03:26:25 +0000 (20:26 -0700)
commit27ca6de74aab958482dea3eaf4718b93356c2977
tree8714ca39eb765118b2165c9217c454ebbcffaaae
parent0d05325ed3f04d98a838a28b3c7b15d365dfaaad
vdec: h265 check and avoid NULL pointer [1/1]

PD#SWPL-29760

Problem:
In some cases h265 there is a NULL pointer used

Solution:
Check and avoid to use NULL pointer

Verify:
T962X3

Change-Id: Ic1f3b24c065cd23163ef5dd0caca7b8a7fb488b9
Signed-off-by: apollo.ling <apollo.ling@amlogic.com>
drivers/frame_provider/decoder/h265/vh265.c