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
dc977392
Commit
dc977392
authored
Aug 27, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics (Fixed mix up between 0 and NULL).
parent
ca42ba4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
src/input/decoder.c
src/input/decoder.c
+8
-8
No files found.
src/input/decoder.c
View file @
dc977392
...
...
@@ -446,11 +446,11 @@ static decoder_t * CreateDecoder( input_thread_t *p_input,
if
(
p_dec
==
NULL
)
return
NULL
;
p_dec
->
pf_decode_audio
=
0
;
p_dec
->
pf_decode_video
=
0
;
p_dec
->
pf_decode_sub
=
0
;
p_dec
->
pf_get_cc
=
0
;
p_dec
->
pf_packetize
=
0
;
p_dec
->
pf_decode_audio
=
NULL
;
p_dec
->
pf_decode_video
=
NULL
;
p_dec
->
pf_decode_sub
=
NULL
;
p_dec
->
pf_get_cc
=
NULL
;
p_dec
->
pf_packetize
=
NULL
;
/* Initialize the decoder fifo */
p_dec
->
p_module
=
NULL
;
...
...
@@ -605,7 +605,7 @@ static void* DecoderThread( vlc_object_t *p_this )
* same thread than open()/decode() */
module_Unneed
(
p_dec
,
p_dec
->
p_module
);
return
0
;
return
NULL
;
}
static
inline
void
DecoderUpdatePreroll
(
int64_t
*
pi_preroll
,
const
block_t
*
p
)
...
...
@@ -901,7 +901,7 @@ static int DecoderDecode( decoder_t *p_dec, block_t *p_block )
block_t
*
p_sout_block
;
while
(
(
p_sout_block
=
p_dec
->
pf_packetize
(
p_dec
,
p_block
?
&
p_block
:
0
)
)
)
p_dec
->
pf_packetize
(
p_dec
,
p_block
?
&
p_block
:
NULL
)
)
)
{
if
(
!
p_dec
->
p_owner
->
p_sout_input
)
{
...
...
@@ -1124,7 +1124,7 @@ static void DeleteDecoder( decoder_t * p_dec )
#undef p_pic
/* We are about to die. Reattach video output to p_vlc. */
vout_Request
(
p_dec
,
p_dec
->
p_owner
->
p_vout
,
0
);
vout_Request
(
p_dec
,
p_dec
->
p_owner
->
p_vout
,
NULL
);
}
#ifdef ENABLE_SOUT
...
...
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