Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
375c32ff
Commit
375c32ff
authored
May 30, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When checking for filters overflow, actually handle the error (CID 48)
parent
7c2d9c9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/video_output/vout_subpictures.c
src/video_output/vout_subpictures.c
+3
-1
No files found.
src/video_output/vout_subpictures.c
View file @
375c32ff
...
@@ -148,6 +148,8 @@ int spu_ParseChain( spu_t *p_spu )
...
@@ -148,6 +148,8 @@ int spu_ParseChain( spu_t *p_spu )
p_spu
->
pp_filter
[
p_spu
->
i_filter
]
->
p_module
=
p_spu
->
pp_filter
[
p_spu
->
i_filter
]
->
p_module
=
module_Need
(
p_spu
->
pp_filter
[
p_spu
->
i_filter
],
module_Need
(
p_spu
->
pp_filter
[
p_spu
->
i_filter
],
"sub filter"
,
psz_name
,
true
);
"sub filter"
,
psz_name
,
true
);
free
(
psz_name
);
if
(
p_spu
->
pp_filter
[
p_spu
->
i_filter
]
->
p_module
)
if
(
p_spu
->
pp_filter
[
p_spu
->
i_filter
]
->
p_module
)
{
{
filter_owner_sys_t
*
p_sys
=
malloc
(
sizeof
(
filter_owner_sys_t
)
);
filter_owner_sys_t
*
p_sys
=
malloc
(
sizeof
(
filter_owner_sys_t
)
);
...
@@ -170,9 +172,9 @@ int spu_ParseChain( spu_t *p_spu )
...
@@ -170,9 +172,9 @@ int spu_ParseChain( spu_t *p_spu )
if
(
p_spu
->
i_filter
>=
10
)
if
(
p_spu
->
i_filter
>=
10
)
{
{
msg_Dbg
(
p_spu
,
"can't add anymore filters"
);
msg_Dbg
(
p_spu
,
"can't add anymore filters"
);
break
;
}
}
free
(
psz_name
);
}
}
free
(
val
.
psz_string
);
free
(
val
.
psz_string
);
...
...
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