diff options
author | Gilbok Lee <gilbok.lee@samsung.com> | 2017-04-03 15:38:20 +0900 |
---|---|---|
committer | Gilbok Lee <gilbok.lee@samsung.com> | 2017-04-04 12:26:01 +0900 |
commit | 46445daa9cda4a59e5162d423006ab9c1226f9b3 (patch) | |
tree | 130a976efe2116c60e19b9adddc9759636d44d00 | |
parent | 575260f1be6e34ff476df8ba681183fefd465f4a (diff) | |
download | video-util-46445daa9cda4a59e5162d423006ab9c1226f9b3.tar.gz video-util-46445daa9cda4a59e5162d423006ab9c1226f9b3.tar.bz2 video-util-46445daa9cda4a59e5162d423006ab9c1226f9b3.zip |
Change Native API Referece url link
Change-Id: Ib431edfe08a0f5438ec75745eb664eed3e4e0820
-rwxr-xr-x | LICENSE.Apache-2.0 (renamed from LICENSE.APLv2) | 0 | ||||
-rw-r--r-- | doc/video_util_doc.h | 2 | ||||
-rwxr-xr-x | packaging/capi-media-video-util.spec | 2 | ||||
-rw-r--r-- | test/video_util_test.c | 3 |
4 files changed, 4 insertions, 3 deletions
diff --git a/LICENSE.APLv2 b/LICENSE.Apache-2.0 index 29f81d8..29f81d8 100755 --- a/LICENSE.APLv2 +++ b/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 <a href="https://developer.tizen.org/development/tools/native-tools/manifest-text-editor#feature"><b>Feature Element</b>.</a> + * More details on featuring your application can be found from <a href="https://developer.tizen.org/development/tizen-studio/native-tools/configuring-your-app/manifest-text-editor#feature"><b>Feature Element</b>.</a> * * @subsection CAPI_MEDIA_VIDEO_UTIL_FOREACH_OPERATIONS Foreach Operations * <div><table class="doxtable" > 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); |