vdec: fix coverity issues [1/1]
authorxinguang.jiang <xinguang.jiang@amlogic.com>
Tue, 29 Dec 2020 12:20:54 +0000 (20:20 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Wed, 6 Jan 2021 10:58:54 +0000 (02:58 -0800)
commitb93666f16264e2a385bae292249f46a09c21b6d8
tree56a56296b9da5fb7cf92f74e4661c72876b05dd2
parentbba22b6d96ecb731f7d00367212449be83551d55
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: Idff1579075b613f8cce1803714b828b879aafe18
Signed-off-by: xinguang.jiang <xinguang.jiang@amlogic.com>
22 files changed:
drivers/amvdec_ports/aml_vcodec_dec.c
drivers/amvdec_ports/decoder/vdec_av1_if.c
drivers/amvdec_ports/decoder/vdec_h264_if.c
drivers/amvdec_ports/decoder/vdec_hevc_if.c
drivers/amvdec_ports/decoder/vdec_mjpeg_if.c
drivers/amvdec_ports/decoder/vdec_mpeg12_if.c
drivers/amvdec_ports/decoder/vdec_mpeg4_if.c
drivers/amvdec_ports/decoder/vdec_vp9_if.c
drivers/common/media_clock/clk/clkg12.c
drivers/frame_provider/decoder/avs2/vavs2.c
drivers/frame_provider/decoder/avs_multi/avs_multi.c
drivers/frame_provider/decoder/h264_multi/h264_dpb.c
drivers/frame_provider/decoder/h264_multi/vmh264.c
drivers/frame_provider/decoder/h265/vh265.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
drivers/frame_provider/decoder/utils/vdec_sync.c
drivers/frame_provider/decoder/vav1/av1_bufmgr.c
drivers/frame_provider/decoder/vav1/vav1.c
drivers/frame_provider/decoder/vp9/vvp9.c
drivers/stream_input/amports/amstream.c