media: fix some coverity error: [1/1]
authorPeng Yixin <yixin.peng@amlogic.com>
Tue, 13 Nov 2018 07:21:30 +0000 (15:21 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 16 Nov 2018 11:16:59 +0000 (03:16 -0800)
commit3bfa529946ec1e9afe9a47de9f7b88a087ad3c71
treeddfd5020e5970334fbb8a228b6b79ae16ef44685
parent16cbe10144aa670944b5233aaeccc025248fb9ca
media: fix some coverity error: [1/1]

PD#SWPL-2053

Problem:
Coverity detected some code defects.

Solution:
Fixed these code defects.

Verify:
Verified u212

Change-Id: Ie3c0907c7ee3db94f65f58aa5d5c96812a7fe38c
Signed-off-by: Peng Yixin <yixin.peng@amlogic.com>
drivers/amlogic/media/common/codec_mm/codec_mm_scatter.c
drivers/amlogic/media/common/vfm/vframe_provider.c
drivers/amlogic/media/frame_sync/ptsserv.c
drivers/amlogic/media/osd/osd_drm.c