[Version] 0.1.9
[Profile] Mobile, TV
[Issue Type] Fix Svace issue
Change-Id: Iacd9623483865f8c5bfae41cd05bf256633695d1
Name: capi-media-video-util
Summary: A Video Utility library in Tizen Native API
Name: capi-media-video-util
Summary: A Video Utility library in Tizen Native API
Release: 0
Group: System/Libraries
License: Apache-2.0
Release: 0
Group: System/Libraries
License: Apache-2.0
int error_value = VIDEO_UTIL_ERROR_NONE;
video_util_s *_handle = (video_util_s *)user_data;
int error_value = VIDEO_UTIL_ERROR_NONE;
video_util_s *_handle = (video_util_s *)user_data;
- if ((_handle != NULL) && (_handle->_util_cb != NULL)
- && (_handle->_util_cb->transcode_completed_cb != NULL)) {
+ if (_handle == NULL) {
+ video_util_error("INVALID_PARAMETER");
+ return;
+ }
+
+ if ((_handle->_util_cb != NULL) && (_handle->_util_cb->transcode_completed_cb != NULL)) {
error_value = __video_util_error_convert(error);
_handle->_util_cb->transcode_completed_cb(error_value, _handle->_util_cb->user_data);
}
error_value = __video_util_error_convert(error);
_handle->_util_cb->transcode_completed_cb(error_value, _handle->_util_cb->user_data);
}