Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
c7357344
Commit
c7357344
authored
Nov 21, 2006
by
Rémi Denis-Courmont
Browse files
Fix segmentation fault at ffmpeg startup (fixes #858)
parent
90e3a296
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/codec/ffmpeg/ffmpeg.c
View file @
c7357344
...
...
@@ -205,9 +205,6 @@ vlc_module_begin();
set_callbacks
(
E_
(
OpenScaler
),
E_
(
CloseScaler
)
);
add_integer
(
"swscale-mode"
,
0
,
NULL
,
SCALEMODE_TEXT
,
SCALEMODE_LONGTEXT
,
VLC_TRUE
);
change_integer_list
(
pi_mode_values
,
ppsz_mode_descriptions
,
0
);
var_Create
(
p_module
->
p_libvlc_global
,
"avcodec"
,
VLC_VAR_MUTEX
);
#else
/* chroma conversion submodule */
add_submodule
();
...
...
@@ -235,6 +232,8 @@ vlc_module_begin();
add_shortcut
(
"ffmpeg-deinterlace"
);
#endif
var_Create
(
p_module
->
p_libvlc_global
,
"avcodec"
,
VLC_VAR_MUTEX
);
vlc_module_end
();
/*****************************************************************************
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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