Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
61614b65
Commit
61614b65
authored
Aug 15, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src/control/media_descriptor.c: Better libvlc_media_descriptor_duplicate.
parent
a7ed4d1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
src/control/media_descriptor.c
src/control/media_descriptor.c
+2
-8
No files found.
src/control/media_descriptor.c
View file @
61614b65
...
...
@@ -139,14 +139,8 @@ void libvlc_media_descriptor_retain( libvlc_media_descriptor_t *p_md )
libvlc_media_descriptor_t
*
libvlc_media_descriptor_duplicate
(
libvlc_media_descriptor_t
*
p_md_orig
)
{
libvlc_media_descriptor_t
*
p_md
;
p_md
=
malloc
(
sizeof
(
libvlc_media_descriptor_t
)
);
memcpy
(
p_md
,
p_md_orig
,
sizeof
(
libvlc_media_descriptor_t
)
);
vlc_gc_incref
(
p_md
->
p_input_item
);
return
p_md
;
return
libvlc_media_descriptor_new_from_input_item
(
p_md
->
p_libvlc_instance
,
p_md_orig
->
p_input_item
);
}
/**************************************************************************
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment