Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
a5623bf3
Commit
a5623bf3
authored
May 07, 2007
by
Olivier Aubert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mediacontrol API: implement mediacontrol_StreamInformation__free in the public API.
parent
299c9ec6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
3 deletions
+23
-3
include/vlc/mediacontrol.h
include/vlc/mediacontrol.h
+7
-0
src/control/mediacontrol_util.c
src/control/mediacontrol_util.c
+16
-3
No files found.
include/vlc/mediacontrol.h
View file @
a5623bf3
...
...
@@ -134,6 +134,13 @@ mediacontrol_PlaylistSeq *mediacontrol_PlaylistSeq__alloc( int size );
VLC_PUBLIC_API
void
mediacontrol_PlaylistSeq__free
(
mediacontrol_PlaylistSeq
*
ps
);
/**
* Free a StreamInformation structure.
* \param pic: the StreamInformation structure
*/
VLC_PUBLIC_API
void
mediacontrol_StreamInformation__free
(
mediacontrol_StreamInformation
*
p_si
);
/**
* Instanciate and initialize an exception structure.
* \return the exception
...
...
src/control/mediacontrol_util.c
View file @
a5623bf3
...
...
@@ -216,8 +216,10 @@ void
mediacontrol_RGBPicture__free
(
mediacontrol_RGBPicture
*
pic
)
{
if
(
pic
)
{
free
(
pic
->
data
);
free
(
pic
);
free
(
pic
);
}
}
mediacontrol_PlaylistSeq
*
...
...
@@ -242,11 +244,22 @@ mediacontrol_PlaylistSeq__free( mediacontrol_PlaylistSeq* ps )
int
i
;
for
(
i
=
0
;
i
<
ps
->
size
;
i
++
)
free
(
ps
->
data
[
i
]
);
free
(
ps
->
data
);
free
(
ps
);
}
free
(
ps
->
data
);
free
(
ps
);
}
void
mediacontrol_StreamInformation__free
(
mediacontrol_StreamInformation
*
p_si
)
{
if
(
p_si
)
{
free
(
p_si
->
url
);
free
(
p_si
);
}
}
mediacontrol_Exception
*
mediacontrol_exception_create
(
void
)
{
...
...
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