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
096c5fd7
Commit
096c5fd7
authored
Mar 14, 2012
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
descriptors/dr_44.c: Build fix
Remove error debugging messages from the descriptor.
parent
9522bf4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
src/descriptors/dr_44.c
src/descriptors/dr_44.c
+3
-10
No files found.
src/descriptors/dr_44.c
View file @
096c5fd7
/*****************************************************************************
* dr_44.c
* Copyright (C) 2011 VideoLAN
* Copyright (C) 2011
-2012
VideoLAN
* $Id$
*
* Authors: Ilkka Ollakka
...
...
@@ -21,11 +21,11 @@
*
*****************************************************************************/
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#if defined(HAVE_INTTYPES_H)
...
...
@@ -50,11 +50,8 @@ dvbpsi_cable_deliv_sys_dr_t * dvbpsi_DecodeCableDelivSysDr(
dvbpsi_cable_deliv_sys_dr_t
*
p_decoded
;
/* Check the tag */
if
(
p_descriptor
->
i_tag
!=
0x44
)
{
DVBPSI_ERROR_ARG
(
"dr_44 decoder"
,
"bad tag (0x%x)"
,
p_descriptor
->
i_tag
);
if
(
p_descriptor
->
i_tag
!=
0x44
)
return
NULL
;
}
/* Don't decode twice */
if
(
p_descriptor
->
p_decoded
)
...
...
@@ -64,10 +61,7 @@ dvbpsi_cable_deliv_sys_dr_t * dvbpsi_DecodeCableDelivSysDr(
p_decoded
=
(
dvbpsi_cable_deliv_sys_dr_t
*
)
malloc
(
sizeof
(
dvbpsi_cable_deliv_sys_dr_t
));
if
(
!
p_decoded
)
{
DVBPSI_ERROR
(
"dr_44 decoder"
,
"out of memory"
);
return
NULL
;
}
/* Decode data */
p_decoded
->
i_frequency
=
(
uint32_t
)(
p_descriptor
->
p_data
[
0
]
<<
24
)
...
...
@@ -87,7 +81,6 @@ dvbpsi_cable_deliv_sys_dr_t * dvbpsi_DecodeCableDelivSysDr(
return
p_decoded
;
}
/*****************************************************************************
* dvbpsi_GenCableDelivSysDr
*****************************************************************************/
...
...
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