removed build warning
authorSejun Park <sejun79.park@samsung.com>
Mon, 17 Sep 2018 06:32:38 +0000 (15:32 +0900)
committerSejun Park <sejun79.park@samsung.com>
Mon, 17 Sep 2018 06:32:38 +0000 (15:32 +0900)
Change-Id: Ib32b7d00584798ea1eb0f5458c56b38c12cff83c

gst-libs/gst/allocators/gsttizenmemory.c
gst-libs/gst/allocators/gsttizenmemory.h
gst-libs/gst/video/video-converter.c

index 5b44198..72ec394 100644 (file)
@@ -397,9 +397,8 @@ gst_tizen_allocator_dmabuf_export (GstAllocator * allocator, GstMemory * _tmem,
 }
 
 GstTizenMemory *
-gst_tizen_allocator_dambuf_import (GstAllocator * allocator, gint * fds, gint planes, gsize offsets[4], GstVideoInfo * vinfo)
+gst_tizen_allocator_dmabuf_import (GstAllocator * allocator, gint * fds, gint planes, gsize offsets[4], GstVideoInfo * vinfo)
 {
-  GstTizenAllocator *tallocator;
   GstTizenMemory *tmem;
   GstMemory *mem;
 
@@ -411,8 +410,6 @@ gst_tizen_allocator_dambuf_import (GstAllocator * allocator, gint * fds, gint pl
       GST_VIDEO_INFO_SIZE (vinfo), 0, 0, GST_VIDEO_INFO_SIZE (vinfo));
 
 
-  tallocator = GST_TIZEN_ALLOCATOR (allocator);
-
   return NULL;
 }
 
index 107dfe0..095b428 100644 (file)
@@ -104,7 +104,7 @@ void *          gst_tizen_memory_get_bos   (GstMemory *mem, gint index);
 void *          gst_tizen_memory_get_surface (GstMemory *mem);
 
 GstMemory *     gst_tizen_allocator_dmabuf_export (GstAllocator * allocator, GstMemory *tmem, int bo_idx);
-GstTizenMemory *gst_tizen_allocator_dambuf_import (GstAllocator * allocator, gint * fds, gint planes, gsize offsets[4], GstVideoInfo * vinfo);
+GstTizenMemory *gst_tizen_allocator_dmabuf_import (GstAllocator * allocator, gint * fds, gint planes, gsize offsets[4], GstVideoInfo * vinfo);
 
 gboolean        gst_tizen_video_memory_map (GstVideoMeta * meta, guint plane, GstMapInfo * info,
                     gpointer * data, gint * stride, GstMapFlags flags);
index eee8079..7645076 100644 (file)
@@ -5792,9 +5792,6 @@ static void
 convert_I420_SN12 (GstVideoConverter * convert, const GstVideoFrame * src,
     GstVideoFrame * dest )
 {
-  GstMemory *mem = NULL;
-  GstTizenMemory *tmem = NULL;
-  void *mm_data = NULL;
   guint8 *mY, *mUV, *Y, *U, *V;
   gint l1, l2;
   int i, j;