ok...back to war!
check it out...manipulating mmpjeg strings
url = av_append_path_component(h->filename, dirent->name);
262 if (url) {
263 struct stat st;
264 if (!smbc_stat(url, &st)) {
265 entry->group_id = st.st_gid;
266 entry->user_id = st.st_uid;
267 entry->size = st.st_size;
268 entry->filemode = st.st_mode & 0777;
269 entry->modification_timestamp = INT64_C(1000000) * st.st_mtime;
270 entry->access_timestamp = INT64_C(1000000) * st.st_atime;
271 entry->status_change_timestamp = INT64_C(1000000) * st.st_ctime;
272 }
273 av_free(url);
274 }
265 entry->group_id = st.st_gid;
266 entry->user_id = st.st_uid;
267 entry->size = st.st_size;
268 entry->filemode = st.st_mode & 0777;
269 entry->modification_timestamp = INT64_C(1000000) * st.st_mtime;
270 entry->access_timestamp = INT64_C(1000000) * st.st_atime;
271 entry->status_change_timestamp = INT64_C(1000000) * st.st_ctime;
272 }
273 av_free(url);
274 }
No comments:
Post a Comment