Commit bad9abe4 authored by Michael Krufky's avatar Michael Krufky Committed by Jean-Paul Saman

dr_a1: fix capitalization

Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
parent 4ed9972d
...@@ -75,7 +75,7 @@ dvbpsi_service_location_dr_t * dvbpsi_DecodeServiceLocationDr( ...@@ -75,7 +75,7 @@ dvbpsi_service_location_dr_t * dvbpsi_DecodeServiceLocationDr(
p_descriptor->p_decoded = (void*)p_decoded; p_descriptor->p_decoded = (void*)p_decoded;
p_decoded->i_PCR_PID = dvbpsi_get_bits(buf, 3, 13); p_decoded->i_pcr_pid = dvbpsi_get_bits(buf, 3, 13);
p_decoded->i_number_elements = dvbpsi_get_bits(buf, 16, 8); p_decoded->i_number_elements = dvbpsi_get_bits(buf, 16, 8);
buf = &p_descriptor->p_data[3]; buf = &p_descriptor->p_data[3];
...@@ -90,7 +90,7 @@ dvbpsi_service_location_dr_t * dvbpsi_DecodeServiceLocationDr( ...@@ -90,7 +90,7 @@ dvbpsi_service_location_dr_t * dvbpsi_DecodeServiceLocationDr(
memset(p_element, 0, sizeof(dvbpsi_service_location_element_t)); memset(p_element, 0, sizeof(dvbpsi_service_location_element_t));
p_element->i_stream_type = dvbpsi_get_bits(buf, 0, 8); p_element->i_stream_type = dvbpsi_get_bits(buf, 0, 8);
p_element->i_elementary_PID = dvbpsi_get_bits(buf, 11, 13); p_element->i_elementary_pid = dvbpsi_get_bits(buf, 11, 13);
memcpy(p_element->i_iso_639_code, &buf[3], 3); memcpy(p_element->i_iso_639_code, &buf[3], 3);
if (p_decoded->p_first_element == NULL) if (p_decoded->p_first_element == NULL)
......
...@@ -21,8 +21,8 @@ Service Location Descriptor. ...@@ -21,8 +21,8 @@ Service Location Descriptor.
*/ */
#ifndef _DVBPSI_DR_a1_H_ #ifndef _DVBPSI_DR_A1_H_
#define _DVBPSI_DR_a1_H_ #define _DVBPSI_DR_A1_H_
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
...@@ -32,7 +32,7 @@ extern "C" { ...@@ -32,7 +32,7 @@ extern "C" {
typedef struct dvbpsi_service_location_element_s typedef struct dvbpsi_service_location_element_s
{ {
uint8_t i_stream_type; uint8_t i_stream_type;
uint16_t i_elementary_PID; uint16_t i_elementary_pid;
char i_iso_639_code[3]; char i_iso_639_code[3];
struct dvbpsi_service_location_element_s * p_next; struct dvbpsi_service_location_element_s * p_next;
...@@ -55,7 +55,7 @@ typedef struct dvbpsi_service_location_element_s ...@@ -55,7 +55,7 @@ typedef struct dvbpsi_service_location_element_s
*/ */
typedef struct dvbpsi_service_location_dr_s typedef struct dvbpsi_service_location_dr_s
{ {
uint16_t i_PCR_PID; /*!< PID of the Transport Stream packets*/ uint16_t i_pcr_pid; /*!< PID of the Transport Stream packets*/
uint8_t i_number_elements; /*!< number of elements used for this service */ uint8_t i_number_elements; /*!< number of elements used for this service */
dvbpsi_service_location_element_t * p_first_element; dvbpsi_service_location_element_t * p_first_element;
......
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