Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdvbpsi
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
libdvbpsi
Commits
990aacdb
Commit
990aacdb
authored
Dec 25, 2013
by
Michael Krufky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dr_81: initialize p_decoded with 0's
Signed-off-by:
Michael Krufky
<
mkrufky@linuxtv.org
>
parent
6ab64fb3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/descriptors/dr_81.c
src/descriptors/dr_81.c
+2
-0
No files found.
src/descriptors/dr_81.c
View file @
990aacdb
...
@@ -63,6 +63,8 @@ dvbpsi_ac3_audio_dr_t *dvbpsi_DecodeAc3AudioDr(dvbpsi_descriptor_t *p_descriptor
...
@@ -63,6 +63,8 @@ dvbpsi_ac3_audio_dr_t *dvbpsi_DecodeAc3AudioDr(dvbpsi_descriptor_t *p_descriptor
if
(
!
p_decoded
)
if
(
!
p_decoded
)
return
NULL
;
return
NULL
;
memset
(
p_decoded
,
0
,
sizeof
(
dvbpsi_ac3_audio_dr_t
));
p_descriptor
->
p_decoded
=
(
void
*
)
p_decoded
;
p_descriptor
->
p_decoded
=
(
void
*
)
p_decoded
;
p_decoded
->
i_sample_rate_code
=
0x07
&
(
buf
[
0
]
>>
5
);
p_decoded
->
i_sample_rate_code
=
0x07
&
(
buf
[
0
]
>>
5
);
...
...
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