Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
4a7e83dd
Commit
4a7e83dd
authored
Jul 12, 2017
by
Thomas Guillem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
channel_mixer: mono: don't modify fmt on error
parent
8fe98a62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/audio_filter/channel_mixer/mono.c
modules/audio_filter/channel_mixer/mono.c
+2
-3
No files found.
modules/audio_filter/channel_mixer/mono.c
View file @
4a7e83dd
...
...
@@ -348,9 +348,6 @@ static int OpenFilter( vlc_object_t *p_this )
return
VLC_EGENERIC
;
}
p_filter
->
fmt_in
.
audio
.
i_format
=
VLC_CODEC_S16N
;
p_filter
->
fmt_out
.
audio
.
i_format
=
VLC_CODEC_S16N
;
/* Allocate the memory needed to store the module's structure */
p_sys
=
p_filter
->
p_sys
=
malloc
(
sizeof
(
filter_sys_t
)
);
if
(
p_sys
==
NULL
)
...
...
@@ -399,6 +396,8 @@ static int OpenFilter( vlc_object_t *p_this )
p_filter
->
fmt_in
.
audio
.
i_bitspersample
,
p_filter
->
fmt_out
.
audio
.
i_bitspersample
);
p_filter
->
fmt_in
.
audio
.
i_format
=
VLC_CODEC_S16N
;
p_filter
->
fmt_out
.
audio
.
i_format
=
VLC_CODEC_S16N
;
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