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
db67442b
Commit
db67442b
authored
Jul 13, 2013
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
access_jack: cleaning
parent
c9f97376
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
modules/access/jack.c
modules/access/jack.c
+3
-9
No files found.
modules/access/jack.c
View file @
db67442b
...
...
@@ -519,30 +519,24 @@ static void Port_finder( demux_t *p_demux )
pp_jack_port_output
=
jack_get_ports
(
p_sys
->
p_jack_client
,
psz_uri
,
NULL
,
JackPortIsOutput
);
if
(
pp_jack_port_output
==
NULL
)
{
msg_Err
(
p_demux
,
"port(s) asked not found:%s"
,
psz_uri
);
free
(
pp_jack_port_output
);
}
else
{
while
(
pp_jack_port_output
&&
pp_jack_port_output
[
i_out_ports
]
)
{
while
(
pp_jack_port_output
[
i_out_ports
]
)
i_out_ports
++
;
}
/* alloc an array to store all the matched ports */
p_sys
->
pp_jack_port_table
=
xrealloc
(
p_sys
->
pp_jack_port_table
,
(
i_out_ports
*
sizeof
(
char
*
)
+
i_total_out_ports
*
sizeof
(
char
*
)
)
);
for
(
int
i
=
0
;
i
<
i_out_ports
;
i
++
)
{
p_sys
->
pp_jack_port_table
[
i_total_out_ports
+
i
]
=
(
char
*
)
pp_jack_port_output
[
i
];
}
i_total_out_ports
+=
i_out_ports
;
free
(
pp_jack_port_output
);
}
}
free
(
pp_jack_port_output
);
p_sys
->
i_match_ports
=
i_total_out_ports
;
}
...
...
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