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
83c6f126
Commit
83c6f126
authored
Jan 01, 2014
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vod: reduce complexity and please static analyzers
parent
225a216b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
modules/stream_out/vod.c
modules/stream_out/vod.c
+4
-6
No files found.
modules/stream_out/vod.c
View file @
83c6f126
...
...
@@ -314,15 +314,13 @@ static void MediaDel( vod_t *p_vod, vod_media_t *p_media )
RtspUnsetup
(
p_media
->
rtsp
);
}
while
(
p_media
->
i_es
)
for
(
int
i
=
0
;
i
<
p_media
->
i_es
;
i
++
)
{
media_es_t
*
p_es
=
p_media
->
es
[
0
];
TAB_REMOVE
(
p_media
->
i_es
,
p_media
->
es
,
p_es
);
free
(
p_es
->
rtp_fmt
.
fmtp
);
free
(
p_es
);
free
(
p_media
->
es
[
i
]
->
rtp_fmt
.
fmtp
);
free
(
p_media
->
es
[
i
]
);
}
free
(
p_media
->
es
);
TAB_CLEAN
(
p_media
->
i_es
,
p_media
->
es
);
free
(
p_media
);
}
...
...
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