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
6fe0882c
Commit
6fe0882c
authored
Mar 19, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fluidsynth: remove unused computation
parent
2abddade
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
modules/codec/fluidsynth.c
modules/codec/fluidsynth.c
+0
-4
No files found.
modules/codec/fluidsynth.c
View file @
6fe0882c
...
@@ -27,7 +27,6 @@
...
@@ -27,7 +27,6 @@
#include <vlc_plugin.h>
#include <vlc_plugin.h>
#include <vlc_codec.h>
#include <vlc_codec.h>
#include <vlc_dialog.h>
#include <vlc_dialog.h>
#include <vlc_charset.h>
#ifdef HAVE_UNISTD_H
#ifdef HAVE_UNISTD_H
# include <unistd.h>
# include <unistd.h>
...
@@ -117,11 +116,8 @@ static int Open (vlc_object_t *p_this)
...
@@ -117,11 +116,8 @@ static int Open (vlc_object_t *p_this)
char
*
font_path
=
var_InheritString
(
p_this
,
"soundfont"
);
char
*
font_path
=
var_InheritString
(
p_this
,
"soundfont"
);
if
(
font_path
!=
NULL
)
if
(
font_path
!=
NULL
)
{
{
const
char
*
lpath
=
ToLocale
(
font_path
);
msg_Dbg
(
p_this
,
"loading sound fonts file %s"
,
font_path
);
msg_Dbg
(
p_this
,
"loading sound fonts file %s"
,
font_path
);
p_sys
->
soundfont
=
fluid_synth_sfload
(
p_sys
->
synth
,
font_path
,
1
);
p_sys
->
soundfont
=
fluid_synth_sfload
(
p_sys
->
synth
,
font_path
,
1
);
LocaleFree
(
lpath
);
if
(
p_sys
->
soundfont
==
-
1
)
if
(
p_sys
->
soundfont
==
-
1
)
msg_Err
(
p_this
,
"cannot load sound fonts file %s"
,
font_path
);
msg_Err
(
p_this
,
"cannot load sound fonts file %s"
,
font_path
);
free
(
font_path
);
free
(
font_path
);
...
...
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