Commit a45501e6 authored by Jean-Paul Saman's avatar Jean-Paul Saman

tables/BAT: doxygen update

- document first argument of dvbpsi_bat_ts_descriptor_add()
parent 0a63fc9d
...@@ -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;
......
...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment