vdec: fix coverity issues [1/1]
authorxinguang.jiang <xinguang.jiang@amlogic.com>
Wed, 6 Jan 2021 12:37:40 +0000 (20:37 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Thu, 7 Jan 2021 08:13:22 +0000 (00:13 -0800)
commit48768a97c3cd13c349b9403cdcaa8d81ca8c6887
tree14c232ca6faf0c5425f41991aea61f983f749838
parent24205b5d232b0a79ad8f52568e7f831eac20cfba
vdec: fix coverity issues [1/1]

PD#SWPL-19875

Problem:
There are some coverity scanned issues

Solution:
Fix the coverity issues

Verify:
S905X4-AH212

Change-Id: I215a1d1e2350a822c4ac8e11fcdcd122bb43fc49
Signed-off-by: xinguang.jiang <xinguang.jiang@amlogic.com>
drivers/amvdec_ports/aml_vcodec_dec.c
drivers/frame_provider/decoder/h264_multi/h264_dpb.c
drivers/frame_provider/decoder/mjpeg/vmjpeg_multi.c
drivers/frame_provider/decoder/mpeg12/vmpeg12_multi.c
drivers/frame_provider/decoder/mpeg4/vmpeg4_multi.c