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
acb60949
Commit
acb60949
authored
Dec 17, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use NULL instead of 0.
parent
572fdb5c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
modules/access/dshow/crossbar.cpp
modules/access/dshow/crossbar.cpp
+5
-5
modules/access/dshow/dshow.cpp
modules/access/dshow/dshow.cpp
+5
-5
No files found.
modules/access/dshow/crossbar.cpp
View file @
acb60949
...
...
@@ -59,9 +59,9 @@ static HRESULT GetCrossbarIPinAtIndex( IAMCrossbar *pXbar, LONG PinIndex,
BOOL
IsInputPin
,
IPin
**
ppPin
)
{
LONG
cntInPins
,
cntOutPins
;
IPin
*
pP
=
0
;
IPin
*
pP
=
NULL
;
IBaseFilter
*
pFilter
=
NULL
;
IEnumPins
*
pins
=
0
;
IEnumPins
*
pins
=
NULL
;
ULONG
n
;
if
(
!
pXbar
||
!
ppPin
)
return
E_POINTER
;
...
...
@@ -102,9 +102,9 @@ static HRESULT GetCrossbarIndexFromIPin( IAMCrossbar * pXbar, LONG * PinIndex,
BOOL
IsInputPin
,
IPin
*
pPin
)
{
LONG
cntInPins
,
cntOutPins
;
IPin
*
pP
=
0
;
IPin
*
pP
=
NULL
;
IBaseFilter
*
pFilter
=
NULL
;
IEnumPins
*
pins
=
0
;
IEnumPins
*
pins
=
NULL
;
ULONG
n
;
BOOL
fOK
=
FALSE
;
...
...
@@ -159,7 +159,7 @@ HRESULT FindCrossbarRoutes( vlc_object_t *p_this, access_sys_t *p_sys,
return
S_FALSE
;
}
IAMCrossbar
*
pXbar
=
0
;
IAMCrossbar
*
pXbar
=
NULL
;
if
(
FAILED
(
pinInfo
.
pFilter
->
QueryInterface
(
IID_IAMCrossbar
,
(
void
**
)
&
pXbar
))
)
{
...
...
modules/access/dshow/dshow.cpp
View file @
acb60949
...
...
@@ -432,7 +432,7 @@ static int CommonOpen( vlc_object_t *p_this, access_sys_t *p_sys,
/* Initialize some data */
p_sys
->
i_streams
=
0
;
p_sys
->
pp_streams
=
0
;
p_sys
->
pp_streams
=
NULL
;
p_sys
->
i_width
=
i_width
;
p_sys
->
i_height
=
i_height
;
p_sys
->
i_chroma
=
i_chroma
;
...
...
@@ -782,16 +782,16 @@ static bool ConnectFilters( vlc_object_t *p_this, access_sys_t *p_sys,
// Sort out all the possible video inputs
// The class needs to be given the capture filters ANALOGVIDEO input pin
IEnumPins
*
pins
=
0
;
IEnumPins
*
pins
=
NULL
;
if
(
(
mediaType
.
majortype
==
MEDIATYPE_Video
||
mediaType
.
majortype
==
MEDIATYPE_Stream
)
&&
SUCCEEDED
(
p_filter
->
EnumPins
(
&
pins
))
)
{
IPin
*
pP
=
0
;
IPin
*
pP
=
NULL
;
ULONG
n
;
PIN_INFO
pinInfo
;
BOOL
Found
=
FALSE
;
IKsPropertySet
*
pKs
=
0
;
IKsPropertySet
*
pKs
=
NULL
;
GUID
guid
;
DWORD
dw
;
...
...
@@ -1706,7 +1706,7 @@ static block_t *ReadCompressed( access_t *p_access )
return
p_block
;
}
return
0
;
/* never reached */
return
NULL
;
/* never reached */
}
/****************************************************************************
...
...
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