Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
33a8caa7
Commit
33a8caa7
authored
Aug 15, 2013
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vout: fix use-after-free of SPU
Pointed-out-by:
Pedro Ribeiro
<
pedrib@gmail.com
>
parent
26437916
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/video_output/video_output.c
src/video_output/video_output.c
+3
-1
No files found.
src/video_output/video_output.c
View file @
33a8caa7
...
...
@@ -1034,8 +1034,10 @@ static int ThreadDisplayRenderPicture(vout_thread_t *vout, bool is_forced)
picture_BlendSubpicture
(
sys
->
display
.
filtered
,
vout
->
p
->
spu_blend
,
subpic
);
vout_display_Prepare
(
vd
,
sys
->
display
.
filtered
,
do_dr_spu
?
subpic
:
NULL
);
}
if
(
!
do_dr_spu
&&
subpic
)
if
(
!
do_dr_spu
&&
subpic
)
{
subpicture_Delete
(
subpic
);
subpic
=
NULL
;
}
if
(
!
sys
->
display
.
filtered
)
return
VLC_EGENERIC
;
}
...
...
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