summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Min <jiyong.min@samsung.com>2021-12-13 13:11:35 +0900
committerJiyong Min <jiyong.min@samsung.com>2021-12-13 13:11:35 +0900
commit58ec75c14c0d98b768ff5ec5db0b1b0d06e39517 (patch)
tree7db0e8a779c044ef43cf21b0c400253f6894fae7
parent3ab54f0c8dca0242bdfc0264ca9ee2af6b35631d (diff)
downloadlibmedia-thumbnail-tizen.tar.gz
libmedia-thumbnail-tizen.tar.bz2
libmedia-thumbnail-tizen.zip
- g_memdup() was removed in glib2 Change-Id: I363223630eadd1c0297eb0a40fda79aead7e3dfb
-rw-r--r--packaging/libmedia-thumbnail.spec2
-rwxr-xr-xsrc/media-thumbnail.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/packaging/libmedia-thumbnail.spec b/packaging/libmedia-thumbnail.spec
index c218607..ee35ff6 100644
--- a/packaging/libmedia-thumbnail.spec
+++ b/packaging/libmedia-thumbnail.spec
@@ -1,6 +1,6 @@
Name: libmedia-thumbnail
Summary: Media thumbnail service library for multimedia applications
-Version: 0.3.3
+Version: 0.3.4
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0 and PD
diff --git a/src/media-thumbnail.c b/src/media-thumbnail.c
index e241509..d719f7f 100755
--- a/src/media-thumbnail.c
+++ b/src/media-thumbnail.c
@@ -211,7 +211,7 @@ static int __get_video_meta(int cdis_value, const char *path, int *video_track_n
*width = _width;
*height = _height;
*frame_size = _frame_size;
- *frame = g_memdup(_frame, _frame_size);
+ *frame = g_memdup2(_frame, _frame_size);
mm_file_destroy_content_attrs(content);