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
e5acfdd2
Commit
e5acfdd2
authored
Nov 06, 2012
by
Rémi Denis-Courmont
Browse files
remap: setup filter_t only when successful
parent
7a0a53fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/audio_filter/channel_mixer/remap.c
View file @
e5acfdd2
...
...
@@ -338,7 +338,6 @@ static int OpenFilter( vlc_object_t *p_this )
aout_FormatPrintChannels
(
audio_in
),
aout_FormatPrintChannels
(
audio_out
)
);
p_filter
->
pf_audio_filter
=
Remap
;
p_sys
->
pf_remap
=
GetRemapFun
(
audio_in
,
b_multiple
);
if
(
!
p_sys
->
pf_remap
)
{
...
...
@@ -347,7 +346,8 @@ static int OpenFilter( vlc_object_t *p_this )
return
VLC_EGENERIC
;
}
return
0
;
p_filter
->
pf_audio_filter
=
Remap
;
return
VLC_SUCCESS
;
}
/*****************************************************************************
...
...
Write
Preview
Supports
Markdown
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