From: Sejun Park Date: Tue, 25 Apr 2017 11:40:26 +0000 (+0900) Subject: modify checking null X-Git-Tag: accepted/tizen/unified/20170426.061905^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86060365022fb3ea999589d66356832d8fda0c0f;p=platform%2Fcore%2Fapi%2Fmediacodec.git modify checking null Change-Id: I4f84db66ff439bbdad845da2af532c09afaeea44 --- diff --git a/src/media_codec_port_gst.c b/src/media_codec_port_gst.c index 95fac10..759117c 100755 --- a/src/media_codec_port_gst.c +++ b/src/media_codec_port_gst.c @@ -2425,7 +2425,7 @@ static MMVideoBuffer *__mc_gst_make_tbm_buffer(mc_gst_core_t *core, media_packet int phy_addr = 0; int phy_size = 0; tbm_bo_handle handle_fd = tbm_bo_get_handle(mm_vbuffer->handle.bo[0], TBM_DEVICE_MM); - if (handle_fd == NULL) { + if (handle_fd.ptr == NULL) { LOGE("Invaild bo handle"); return NULL; }