Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
83e3e91f
Commit
83e3e91f
authored
Jul 21, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed an invalid msg_Err format (potential segfault).
parent
e22cc82c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
modules/demux/subtitle_asa.c
modules/demux/subtitle_asa.c
+3
-1
No files found.
modules/demux/subtitle_asa.c
View file @
83e3e91f
...
@@ -212,7 +212,7 @@ static int Open ( vlc_object_t *p_this )
...
@@ -212,7 +212,7 @@ static int Open ( vlc_object_t *p_this )
}
}
if
(
!
p_detect
->
fmt
)
if
(
!
p_detect
->
fmt
)
{
{
msg_Err
(
p_demux
,
"detected %s subtitle format, no asa support"
);
msg_Err
(
p_demux
,
"detected %s subtitle format, no asa support"
,
p_detect
->
name
);
free
(
p_sys
);
free
(
p_sys
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
...
@@ -276,6 +276,8 @@ static int ProcessLine( demux_t *p_demux, void *p_arg,
...
@@ -276,6 +276,8 @@ static int ProcessLine( demux_t *p_demux, void *p_arg,
subtitle_t
*
p_subtitle
;
subtitle_t
*
p_subtitle
;
char
*
psz_text
;
char
*
psz_text
;
VLC_UNUSED
(
p_arg
);
if
(
p_sys
->
i_subtitles
>=
p_sys
->
i_subs_alloc
)
if
(
p_sys
->
i_subtitles
>=
p_sys
->
i_subs_alloc
)
{
{
p_sys
->
i_subs_alloc
+=
500
;
p_sys
->
i_subs_alloc
+=
500
;
...
...
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