return MEDIA_CONTENT_ERROR_INVALID_OPERATION;
}
- memset(tmp_str, 0, sizeof(tmp_str));
while (fgets(tmp_str, MAX_PATH_LEN, fp) != NULL) {
memset(repl_item, 0, sizeof(repl_item));
_media_content_replace_path(tmp_str, repl_item);
content_retip_if_fail(STRING_VALID(path));
content_retip_if_fail(STRING_VALID(playlist_name));
- memset(repl_path, 0, sizeof(repl_path));
ret = _media_content_replace_path(path, repl_path);
content_retvm_if(!STRING_VALID(repl_path), MEDIA_CONTENT_ERROR_INVALID_OPERATION, "path replacement failed");
content_retip_if_fail(playlist);
content_retipm_if_fail(_playlist->playlist_id > 0, "%d", _playlist->playlist_id);
- memset(repl_path, 0, sizeof(repl_path));
ret = _media_content_replace_path(path, repl_path);
content_retvm_if(!STRING_VALID(repl_path), MEDIA_CONTENT_ERROR_INVALID_OPERATION, "path replacement failed");