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
e79b939b
Commit
e79b939b
authored
Dec 04, 2013
by
Tristan Matthews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opus: avoid NULL pointer dereference
parent
fbfe10b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
modules/codec/opus.c
modules/codec/opus.c
+8
-7
No files found.
modules/codec/opus.c
View file @
e79b939b
...
@@ -360,14 +360,15 @@ static void *ProcessPacket( decoder_t *p_dec, ogg_packet *p_oggpacket,
...
@@ -360,14 +360,15 @@ static void *ProcessPacket( decoder_t *p_dec, ogg_packet *p_oggpacket,
*
pp_block
=
NULL
;
/* To avoid being fed the same packet again */
*
pp_block
=
NULL
;
/* To avoid being fed the same packet again */
{
if
(
!
p_block
)
block_t
*
p_aout_buffer
=
DecodePacket
(
p_dec
,
p_oggpacket
,
return
NULL
;
p_block
->
i_nb_samples
,
(
int
)
p_block
->
i_length
);
block_Release
(
p_block
);
block_t
*
p_aout_buffer
=
DecodePacket
(
p_dec
,
p_oggpacket
,
return
p_aout_buffer
;
p_block
->
i_nb_samples
,
}
(
int
)
p_block
->
i_length
);
block_Release
(
p_block
);
return
p_aout_buffer
;
}
}
/*****************************************************************************
/*****************************************************************************
...
...
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