From: Gilbok Lee Date: Mon, 3 Apr 2017 06:38:20 +0000 (+0900) Subject: Change Native API Referece url link X-Git-Tag: accepted/tizen/4.0/unified/20170816.010323~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=46445daa9cda4a59e5162d423006ab9c1226f9b3;p=platform%2Fcore%2Fapi%2Fvideo-util.git Change Native API Referece url link Change-Id: Ib431edfe08a0f5438ec75745eb664eed3e4e0820 --- diff --git a/LICENSE.APLv2 b/LICENSE.Apache-2.0 similarity index 100% rename from LICENSE.APLv2 rename to LICENSE.Apache-2.0 diff --git a/doc/video_util_doc.h b/doc/video_util_doc.h index b45e1f4..7c5bbb3 100644 --- a/doc/video_util_doc.h +++ b/doc/video_util_doc.h @@ -48,7 +48,7 @@ * * To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK.\n * - * More details on featuring your application can be found from Feature Element. + * More details on featuring your application can be found from Feature Element. * * @subsection CAPI_MEDIA_VIDEO_UTIL_FOREACH_OPERATIONS Foreach Operations *
diff --git a/packaging/capi-media-video-util.spec b/packaging/capi-media-video-util.spec index 91c71c9..81859df 100755 --- a/packaging/capi-media-video-util.spec +++ b/packaging/capi-media-video-util.spec @@ -52,7 +52,7 @@ cp test/video_util_test %{buildroot}%{_bindir} %files %manifest %{name}.manifest %{_libdir}/lib*.so.* -%license LICENSE.APLv2 +%license LICENSE.Apache-2.0 %{_bindir}/* %files devel diff --git a/test/video_util_test.c b/test/video_util_test.c index fe170bb..c6b341c 100644 --- a/test/video_util_test.c +++ b/test/video_util_test.c @@ -272,7 +272,7 @@ static void input_filename(char *filename) int len = strlen(filename); int ret = VIDEO_UTIL_ERROR_NONE; - if (len < 0 || len > MAX_STRING_LEN) { + if (len < 0 || len > MAX_STRING_LEN - 1) { LOGE("Input file name is wrong"); return; } @@ -294,6 +294,7 @@ static void input_filename(char *filename) } strncpy(g_uri, filename, len); + g_uri[len] = '\0'; ret = video_util_set_file_path(video_h, g_uri);