Change-Id: Ib431edfe08a0f5438ec75745eb664eed3e4e0820
*
* 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" >
%files
%manifest %{name}.manifest
%{_libdir}/lib*.so.*
-%license LICENSE.APLv2
+%license LICENSE.Apache-2.0
%{_bindir}/*
%files devel
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;
}
}
strncpy(g_uri, filename, len);
+ g_uri[len] = '\0';
ret = video_util_set_file_path(video_h, g_uri);