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
e1cfb704
Commit
e1cfb704
authored
Jul 24, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed libass 0.9.7 support.
b670356d
introduced a segfault.
parent
16be5123
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/codec/libass.c
modules/codec/libass.c
+2
-2
No files found.
modules/codec/libass.c
View file @
e1cfb704
...
...
@@ -735,7 +735,7 @@ static ass_handle_t *AssHandleHold( decoder_t *p_dec )
dialog_ProgressSet
(
p_dialog
,
NULL
,
0
.
2
);
#endif
#if defined( LIBASS_VERSION ) && LIBASS_VERSION >= 0x00907000
ass_set_fonts
(
p_renderer
,
psz_font
,
psz_family
,
true
,
NULL
,
0
);
// setup default font/family
ass_set_fonts
(
p_renderer
,
psz_font
,
psz_family
,
true
,
NULL
,
1
);
// setup default font/family
#else
ass_set_fonts
(
p_renderer
,
psz_font
,
psz_family
);
// setup default font/family
#endif
...
...
@@ -745,7 +745,7 @@ static ass_handle_t *AssHandleHold( decoder_t *p_dec )
#else
/* FIXME you HAVE to give him a font if no fontconfig */
#if defined( LIBASS_VERSION ) && LIBASS_VERSION >= 0x00907000
ass_set_fonts
(
p_renderer
,
psz_font
,
psz_family
,
false
,
NULL
,
0
);
ass_set_fonts
(
p_renderer
,
psz_font
,
psz_family
,
false
,
NULL
,
1
);
#else
ass_set_fonts_nofc
(
p_renderer
,
psz_font
,
psz_family
);
#endif
...
...
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