Commit a5420f95 authored by Christophe Massiot's avatar Christophe Massiot

* src/descriptors/dr_56.c: Fixed bad declaration and typo in descriptor

   56 (teletext).
parent 6656b031
...@@ -98,10 +98,9 @@ dvbpsi_teletext_dr_t * dvbpsi_DecodeTeletextDr( ...@@ -98,10 +98,9 @@ dvbpsi_teletext_dr_t * dvbpsi_DecodeTeletextDr(
((uint8_t)(p_descriptor->p_data[5 * i + 3]) >> 3); ((uint8_t)(p_descriptor->p_data[5 * i + 3]) >> 3);
p_decoded->p_pages[i].i_teletext_magazine_number = p_decoded->p_pages[i].i_teletext_magazine_number =
((uint16_t)(p_descriptor->p_data[5 * i + 3]) & 0x07) ((uint16_t)(p_descriptor->p_data[5 * i + 3]) & 0x07);
| p_descriptor->p_data[5 * i + 5];
p_decoded->p_pages[i].i_teletext_page_number = p_descriptor->p_data[4 * i + 4]; p_decoded->p_pages[i].i_teletext_page_number = p_descriptor->p_data[5 * i + 4];
} }
p_descriptor->p_decoded = (void*)p_decoded; p_descriptor->p_decoded = (void*)p_decoded;
......
...@@ -94,7 +94,7 @@ typedef struct dvbpsi_teletext_dr_s ...@@ -94,7 +94,7 @@ typedef struct dvbpsi_teletext_dr_s
* \return a pointer to a new "subtitling" descriptor structure * \return a pointer to a new "subtitling" descriptor structure
* which contains the decoded data. * which contains the decoded data.
*/ */
dvbpsi_teletext_dr_t* dvbpsi_DecodeTeletextDataDr( dvbpsi_teletext_dr_t* dvbpsi_DecodeTeletextDr(
dvbpsi_descriptor_t * p_descriptor); dvbpsi_descriptor_t * p_descriptor);
......
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