modify checking null 70/126970/1 accepted/tizen/unified/20170426.061905 submit/tizen/20170425.114810
authorSejun Park <sejun79.park@samsung.com>
Tue, 25 Apr 2017 11:40:26 +0000 (20:40 +0900)
committerSejun Park <sejun79.park@samsung.com>
Tue, 25 Apr 2017 11:40:26 +0000 (20:40 +0900)
Change-Id: I4f84db66ff439bbdad845da2af532c09afaeea44

src/media_codec_port_gst.c

index 95fac10..759117c 100755 (executable)
@@ -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;
        }