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
9781b239
Commit
9781b239
authored
Mar 10, 2014
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
projectm: fix NULL or uninitialized pointer dereference
parent
ff429160
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/visualization/projectm.cpp
modules/visualization/projectm.cpp
+3
-2
No files found.
modules/visualization/projectm.cpp
View file @
9781b239
...
@@ -293,7 +293,7 @@ static void *Thread( void *p_data )
...
@@ -293,7 +293,7 @@ static void *Thread( void *p_data )
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
video_format_t
fmt
;
video_format_t
fmt
;
vlc_gl_t
*
gl
;
vlc_gl_t
*
gl
=
NULL
;
unsigned
int
i_last_width
=
0
;
unsigned
int
i_last_width
=
0
;
unsigned
int
i_last_height
=
0
;
unsigned
int
i_last_height
=
0
;
locale_t
loc
;
locale_t
loc
;
...
@@ -467,7 +467,8 @@ static void *Thread( void *p_data )
...
@@ -467,7 +467,8 @@ static void *Thread( void *p_data )
assert
(
0
);
assert
(
0
);
error:
error:
vlc_gl_ReleaseCurrent
(
gl
);
if
(
gl
)
vlc_gl_ReleaseCurrent
(
gl
);
p_sys
->
b_error
=
true
;
p_sys
->
b_error
=
true
;
vlc_sem_post
(
&
p_sys
->
ready
);
vlc_sem_post
(
&
p_sys
->
ready
);
return
NULL
;
return
NULL
;
...
...
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