Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
38ce0668
Commit
38ce0668
authored
Sep 01, 2007
by
Rémi Denis-Courmont
Browse files
Another set of useless if statements
parent
33e3934e
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/stream_out/standard.c
View file @
38ce0668
...
...
@@ -311,8 +311,8 @@ static int Open( vlc_object_t *p_this )
{
msg_Err
(
p_stream
,
"no suitable sout access module for `%s/%s://%s'"
,
psz_access
,
psz_mux
,
psz_url
);
if
(
psz_access
)
free
(
psz_access
);
if
(
psz_mux
)
free
(
psz_mux
);
free
(
psz_access
);
free
(
psz_mux
);
return
VLC_EGENERIC
;
}
msg_Dbg
(
p_stream
,
"access opened"
);
...
...
@@ -325,8 +325,8 @@ static int Open( vlc_object_t *p_this )
psz_access
,
psz_mux
,
psz_url
);
sout_AccessOutDelete
(
p_access
);
if
(
psz_access
)
free
(
psz_access
);
if
(
psz_mux
)
free
(
psz_mux
);
free
(
psz_access
);
free
(
psz_mux
);
return
VLC_EGENERIC
;
}
msg_Dbg
(
p_stream
,
"mux opened"
);
...
...
@@ -387,10 +387,9 @@ nosap:
p_stream
->
p_sys
->
p_mux
=
p_mux
;
if
(
psz_access
)
free
(
psz_access
);
if
(
psz_mux
)
free
(
psz_mux
);
if
(
psz_url
)
free
(
psz_url
);
free
(
psz_access
);
free
(
psz_mux
);
free
(
psz_url
);
return
VLC_SUCCESS
;
}
...
...
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