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
a45501e6
Commit
a45501e6
authored
Dec 06, 2012
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tables/BAT: doxygen update
- document first argument of dvbpsi_bat_ts_descriptor_add()
parent
0a63fc9d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/tables/bat.c
src/tables/bat.c
+4
-4
src/tables/bat.h
src/tables/bat.h
+2
-2
No files found.
src/tables/bat.c
View file @
a45501e6
...
@@ -257,7 +257,7 @@ dvbpsi_bat_ts_t *dvbpsi_bat_ts_add(dvbpsi_bat_t* p_bat,
...
@@ -257,7 +257,7 @@ dvbpsi_bat_ts_t *dvbpsi_bat_ts_add(dvbpsi_bat_t* p_bat,
*****************************************************************************
*****************************************************************************
* Add a descriptor in the BAT TS descriptors, which is in the second loop of BAT.
* Add a descriptor in the BAT TS descriptors, which is in the second loop of BAT.
*****************************************************************************/
*****************************************************************************/
dvbpsi_descriptor_t
*
dvbpsi_bat_ts_descriptor_add
(
dvbpsi_bat_ts_t
*
p_
ts
,
dvbpsi_descriptor_t
*
dvbpsi_bat_ts_descriptor_add
(
dvbpsi_bat_ts_t
*
p_
bat
,
uint8_t
i_tag
,
uint8_t
i_length
,
uint8_t
i_tag
,
uint8_t
i_length
,
uint8_t
*
p_data
)
uint8_t
*
p_data
)
{
{
...
@@ -266,11 +266,11 @@ dvbpsi_descriptor_t *dvbpsi_bat_ts_descriptor_add(dvbpsi_bat_ts_t *p_ts,
...
@@ -266,11 +266,11 @@ dvbpsi_descriptor_t *dvbpsi_bat_ts_descriptor_add(dvbpsi_bat_ts_t *p_ts,
if
(
p_descriptor
==
NULL
)
if
(
p_descriptor
==
NULL
)
return
NULL
;
return
NULL
;
if
(
p_
ts
->
p_first_descriptor
==
NULL
)
if
(
p_
bat
->
p_first_descriptor
==
NULL
)
p_
ts
->
p_first_descriptor
=
p_descriptor
;
p_
bat
->
p_first_descriptor
=
p_descriptor
;
else
else
{
{
dvbpsi_descriptor_t
*
p_last_descriptor
=
p_
ts
->
p_first_descriptor
;
dvbpsi_descriptor_t
*
p_last_descriptor
=
p_
bat
->
p_first_descriptor
;
while
(
p_last_descriptor
->
p_next
!=
NULL
)
while
(
p_last_descriptor
->
p_next
!=
NULL
)
p_last_descriptor
=
p_last_descriptor
->
p_next
;
p_last_descriptor
=
p_last_descriptor
->
p_next
;
p_last_descriptor
->
p_next
=
p_descriptor
;
p_last_descriptor
->
p_next
=
p_descriptor
;
...
...
src/tables/bat.h
View file @
a45501e6
...
@@ -231,7 +231,7 @@ dvbpsi_bat_ts_t *dvbpsi_bat_ts_add(dvbpsi_bat_t* p_bat,
...
@@ -231,7 +231,7 @@ dvbpsi_bat_ts_t *dvbpsi_bat_ts_add(dvbpsi_bat_t* p_bat,
* dvbpsi_bat_ts_descriptor_add
* dvbpsi_bat_ts_descriptor_add
*****************************************************************************/
*****************************************************************************/
/*!
/*!
* \fn dvbpsi_descriptor_t* dvbpsi_bat_ts_descriptor_add(dvbpsi_bat_ts_t *p_
ts
,
* \fn dvbpsi_descriptor_t* dvbpsi_bat_ts_descriptor_add(dvbpsi_bat_ts_t *p_
bat
,
uint8_t i_tag,
uint8_t i_tag,
uint8_t i_length,
uint8_t i_length,
uint8_t *p_data)
uint8_t *p_data)
...
@@ -242,7 +242,7 @@ dvbpsi_bat_ts_t *dvbpsi_bat_ts_add(dvbpsi_bat_t* p_bat,
...
@@ -242,7 +242,7 @@ dvbpsi_bat_ts_t *dvbpsi_bat_ts_add(dvbpsi_bat_t* p_bat,
* \param p_data pointer to descriptor data
* \param p_data pointer to descriptor data
* \return a pointer to the added descriptor.
* \return a pointer to the added descriptor.
*/
*/
dvbpsi_descriptor_t
*
dvbpsi_bat_ts_descriptor_add
(
dvbpsi_bat_ts_t
*
p_
ts
,
dvbpsi_descriptor_t
*
dvbpsi_bat_ts_descriptor_add
(
dvbpsi_bat_ts_t
*
p_
bat
,
uint8_t
i_tag
,
uint8_t
i_length
,
uint8_t
i_tag
,
uint8_t
i_length
,
uint8_t
*
p_data
);
uint8_t
*
p_data
);
...
...
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