Apply tizen3.0 coding rule 06/95906/1
authorSejun Park <sejun79.park@samsung.com>
Mon, 7 Nov 2016 05:37:37 +0000 (14:37 +0900)
committerSejun Park <sejun79.park@samsung.com>
Mon, 7 Nov 2016 05:37:37 +0000 (14:37 +0900)
Change-Id: Idd7b8da3a1a619b2bcf58ab88092eb8e16947d8c

src/media_codec_port_gst.c
test/media_codec_test.c

index 3f181e3..fedaba5 100755 (executable)
@@ -2361,18 +2361,18 @@ static MMVideoBuffer *__mc_gst_make_tbm_buffer(mc_gst_core_t* core, media_packet
 
        if (mm_vbuffer->handle.bo[0]) {
                handle_bo = tbm_bo_get_handle(mm_vbuffer->handle.bo[0], TBM_DEVICE_CPU);
-               mm_vbuffer->data[0]= handle_bo.ptr;
+               mm_vbuffer->data[0] = handle_bo.ptr;
 
                handle_bo = tbm_bo_get_handle(mm_vbuffer->handle.bo[0], TBM_DEVICE_MM);
-               mm_vbuffer->handle.dmabuf_fd[0]= handle_bo.u32;
+               mm_vbuffer->handle.dmabuf_fd[0] = handle_bo.u32;
        }
 
        if (mm_vbuffer->handle.bo[1]) {
                handle_bo = tbm_bo_get_handle(mm_vbuffer->handle.bo[1], TBM_DEVICE_CPU);
-               mm_vbuffer->data[1]= handle_bo.ptr;
+               mm_vbuffer->data[1] = handle_bo.ptr;
 
                handle_bo = tbm_bo_get_handle(mm_vbuffer->handle.bo[1], TBM_DEVICE_MM);
-               mm_vbuffer->handle.dmabuf_fd[1]= handle_bo.u32;
+               mm_vbuffer->handle.dmabuf_fd[1] = handle_bo.u32;
        } else {
                mm_vbuffer->data[1] = mm_vbuffer->data[0] + mm_vbuffer->stride_width[0] * mm_vbuffer->stride_height[0];
        }
index c1fda89..2ace30b 100755 (executable)
@@ -979,7 +979,7 @@ static void _mediacodec_process_input(App *app)
                                        media_packet_get_video_stride_width(pkt, 1, &stride_width);
                                        size = app->width * app->height / 2;
 
-                                       for (i = 0; i< app->height / 2; i++) {
+                                       for (i = 0; i < app->height / 2; i++) {
                                                memcpy(buf_data_ptr, tmp, app->width);
                                                buf_data_ptr += stride_width;
                                                tmp += app->width;