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
57720af1
Commit
57720af1
authored
Apr 25, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use NULL rather than 0 as pointer
parent
ee5f3335
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
modules/visualization/goom.c
modules/visualization/goom.c
+1
-1
modules/visualization/visual/visual.c
modules/visualization/visual/visual.c
+3
-3
No files found.
modules/visualization/goom.c
View file @
57720af1
...
...
@@ -366,7 +366,7 @@ static void Close( vlc_object_t *p_this )
vlc_join
(
p_sys
->
p_thread
->
thread
,
NULL
);
/* Free data */
aout_filter_RequestVout
(
p_filter
,
p_sys
->
p_thread
->
p_vout
,
0
);
aout_filter_RequestVout
(
p_filter
,
p_sys
->
p_thread
->
p_vout
,
NULL
);
vlc_mutex_destroy
(
&
p_sys
->
p_thread
->
lock
);
vlc_cond_destroy
(
&
p_sys
->
p_thread
->
wait
);
...
...
modules/visualization/visual/visual.c
View file @
57720af1
...
...
@@ -292,7 +292,7 @@ static int Open( vlc_object_t *p_this )
p_sys
->
fifo
=
block_FifoNew
();
if
(
unlikely
(
p_sys
->
fifo
==
NULL
)
)
{
aout_filter_RequestVout
(
p_filter
,
p_sys
->
p_vout
,
0
);
aout_filter_RequestVout
(
p_filter
,
p_sys
->
p_vout
,
NULL
);
goto
error
;
}
...
...
@@ -300,7 +300,7 @@ static int Open( vlc_object_t *p_this )
VLC_THREAD_PRIORITY_VIDEO
)
)
{
block_FifoRelease
(
p_sys
->
fifo
);
aout_filter_RequestVout
(
p_filter
,
p_sys
->
p_vout
,
0
);
aout_filter_RequestVout
(
p_filter
,
p_sys
->
p_vout
,
NULL
);
goto
error
;
}
...
...
@@ -386,7 +386,7 @@ static void Close( vlc_object_t *p_this )
vlc_cancel
(
p_sys
->
thread
);
vlc_join
(
p_sys
->
thread
,
NULL
);
block_FifoRelease
(
p_sys
->
fifo
);
aout_filter_RequestVout
(
p_filter
,
p_filter
->
p_sys
->
p_vout
,
0
);
aout_filter_RequestVout
(
p_filter
,
p_filter
->
p_sys
->
p_vout
,
NULL
);
/* Free the list */
for
(
int
i
=
0
;
i
<
p_sys
->
i_effect
;
i
++
)
...
...
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