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
5070805f
Commit
5070805f
authored
May 07, 2012
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATSC: whitespace cleanup
parent
20f6f247
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
12 deletions
+11
-12
src/descriptors/dr_62.h
src/descriptors/dr_62.h
+1
-1
src/descriptors/dr_66.c
src/descriptors/dr_66.c
+1
-1
src/descriptors/dr_66.h
src/descriptors/dr_66.h
+1
-1
src/descriptors/dr_73.c
src/descriptors/dr_73.c
+1
-1
src/descriptors/dr_76.c
src/descriptors/dr_76.c
+3
-4
src/descriptors/dr_76.h
src/descriptors/dr_76.h
+2
-2
src/tables/atsc_ett.h
src/tables/atsc_ett.h
+2
-2
No files found.
src/descriptors/dr_62.h
View file @
5070805f
...
...
@@ -56,7 +56,7 @@ typedef struct dvbpsi_frequency_list_dr_s
* dvbpsi_descriptor_t *p_descriptor)
* \brief Decode a Frequency List descriptor (tag 0x62)
* \param p_descriptor Raw descriptor to decode.
* \return NULL if the descriptor could not be decoded or a pointer to a
* \return NULL if the descriptor could not be decoded or a pointer to a
* dvbpsi_frequency_list_dr_t structure.
*/
dvbpsi_frequency_list_dr_t
*
dvbpsi_DecodeFrequencyListDr
(
dvbpsi_descriptor_t
*
p_descriptor
);
...
...
src/descriptors/dr_66.c
View file @
5070805f
...
...
@@ -68,7 +68,7 @@ dvbpsi_data_broadcast_id_dr_t *dvbpsi_DecodeDataBroadcastIdDr(dvbpsi_descriptor_
/* Check length */
if
(
p_descriptor
->
i_length
<
2
)
return
NULL
;
p_decoded
=
NewDataBroadcastDr
(
p_descriptor
->
i_length
-
2
);
if
(
!
p_decoded
)
return
NULL
;
...
...
src/descriptors/dr_66.h
View file @
5070805f
...
...
@@ -53,7 +53,7 @@ typedef struct dvbpsi_data_broadcast_id_dr_s
* dvbpsi_descriptor_t *p_descriptor)
* \brief Decode a Data broadcast id descriptor (tag 0x66)
* \param p_descriptor Raw descriptor to decode.
* \return NULL if the descriptor could not be decoded or a pointer to a
* \return NULL if the descriptor could not be decoded or a pointer to a
* dvbpsi_data_broadcast_id_dr_t structure.
*/
dvbpsi_data_broadcast_id_dr_t
*
dvbpsi_DecodeDataBroadcastIdDr
(
dvbpsi_descriptor_t
*
p_descriptor
);
...
...
src/descriptors/dr_73.c
View file @
5070805f
...
...
@@ -47,7 +47,7 @@ dvbpsi_default_authority_dr_t *dvbpsi_DecodeDefaultAuthorityDr(dvbpsi_descriptor
/* Don't decode twice */
if
(
p_descriptor
->
p_decoded
)
return
p_descriptor
->
p_decoded
;
p_decoded
=
(
dvbpsi_default_authority_dr_t
*
)
malloc
(
sizeof
(
dvbpsi_default_authority_dr_t
));
if
(
!
p_decoded
)
return
NULL
;
...
...
src/descriptors/dr_76.c
View file @
5070805f
...
...
@@ -48,7 +48,7 @@ dvbpsi_content_id_dr_t *dvbpsi_DecodeContentIdDr(dvbpsi_descriptor_t *p_descript
/* Don't decode twice */
if
(
p_descriptor
->
p_decoded
)
return
p_descriptor
->
p_decoded
;
/* Check boundaries */
if
(
p_descriptor
->
i_length
>
ARRAY_SIZE
(
p_decoded
->
p_entries
))
p_descriptor
->
i_length
=
ARRAY_SIZE
(
p_decoded
->
p_entries
);
...
...
@@ -65,7 +65,7 @@ dvbpsi_content_id_dr_t *dvbpsi_DecodeContentIdDr(dvbpsi_descriptor_t *p_descript
entry
->
i_type
=
(
p_descriptor
->
p_data
[
byte
]
>>
2
)
&
0x3f
;
entry
->
i_location
=
p_descriptor
->
p_data
[
byte
]
&
3
;
byte
++
;
if
(
entry
->
i_location
==
CRID_LOCATION_DESCRIPTOR
)
{
uint8_t
len
=
p_descriptor
->
p_data
[
byte
];
...
...
@@ -76,7 +76,7 @@ dvbpsi_content_id_dr_t *dvbpsi_DecodeContentIdDr(dvbpsi_descriptor_t *p_descript
byte
++
;
for
(
i
=
0
;
i
<
len
;
i
++
)
{
entry
->
value
.
path
[
i
]
=
p_descriptor
->
p_data
[
byte
+
i
];
entry
->
value
.
path
[
i
]
=
p_descriptor
->
p_data
[
byte
+
i
];
}
byte
+=
len
;
entry
->
value
.
path
[
i
]
=
0
;
...
...
@@ -85,7 +85,6 @@ dvbpsi_content_id_dr_t *dvbpsi_DecodeContentIdDr(dvbpsi_descriptor_t *p_descript
{
entry
->
value
.
ref
=
(
p_descriptor
->
p_data
[
byte
]
<<
8
)
|
p_descriptor
->
p_data
[
byte
+
1
];
byte
+=
2
;
}
else
{
...
...
src/descriptors/dr_76.h
View file @
5070805f
...
...
@@ -35,7 +35,7 @@ extern "C" {
#define CRID_LOCATION_DESCRIPTOR 0
#define CRID_LOCATION_CIT 1
/*****************************************************************************
* dvbpsi_lcn_entry_t
*****************************************************************************/
...
...
@@ -52,7 +52,7 @@ extern "C" {
typedef
struct
dvbpsi_crid_entry_s
{
uint8_t
i_type
;
uint8_t
i_location
;
uint8_t
i_location
;
union
{
uint8_t
path
[
253
];
...
...
src/tables/atsc_ett.h
View file @
5070805f
...
...
@@ -21,7 +21,7 @@ Decode PSIP Extended Text Table.
*/
#ifndef _ATSC_ETT_H
#define _ATSC_ETT_H
#define _ATSC_ETT_H
#ifdef __cplusplus
extern
"C"
{
...
...
@@ -96,7 +96,7 @@ void dvbpsi_atsc_DetachETT(dvbpsi_demux_t * p_demux, uint8_t i_table_id,
* dvbpsi_atsc_InitETT/dvbpsi_atsc_NewETT
*****************************************************************************/
/*!
* \fn void dvbpsi_atsc_InitETT(dvbpsi_atsc_ett_t* p_ett, uint8_t i_version,
* \fn void dvbpsi_atsc_InitETT(dvbpsi_atsc_ett_t* p_ett, uint8_t i_version,
int b_current_next, uint8_t i_protocol)
* \brief Initialize a user-allocated dvbpsi_atsc_ett_t structure.
* \param p_ett pointer to the ETT structure
...
...
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