[libdvbpsi-devel] dr_a1: fix capitalization
Michael Krufky
git at videolan.org
Tue Feb 4 11:21:58 CET 2014
libdvbpsi | branch: master | Michael Krufky <mkrufky at linuxtv.org> | Sun May 19 14:57:42 2013 -0400| [bad9abe4a5b2a332b56bd1850e0e0dae7fc2381b] | committer: Jean-Paul Saman
dr_a1: fix capitalization
Signed-off-by: Michael Krufky <mkrufky at linuxtv.org>
> http://git.videolan.org/gitweb.cgi/libdvbpsi.git/?a=commit;h=bad9abe4a5b2a332b56bd1850e0e0dae7fc2381b
---
src/descriptors/dr_a1.c | 4 ++--
src/descriptors/dr_a1.h | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/descriptors/dr_a1.c b/src/descriptors/dr_a1.c
index 5a87f67..cbde4b1 100644
--- a/src/descriptors/dr_a1.c
+++ b/src/descriptors/dr_a1.c
@@ -75,7 +75,7 @@ dvbpsi_service_location_dr_t * dvbpsi_DecodeServiceLocationDr(
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);
buf = &p_descriptor->p_data[3];
@@ -90,7 +90,7 @@ dvbpsi_service_location_dr_t * dvbpsi_DecodeServiceLocationDr(
memset(p_element, 0, sizeof(dvbpsi_service_location_element_t));
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);
if (p_decoded->p_first_element == NULL)
diff --git a/src/descriptors/dr_a1.h b/src/descriptors/dr_a1.h
index ff865d5..16dd66f 100644
--- a/src/descriptors/dr_a1.h
+++ b/src/descriptors/dr_a1.h
@@ -21,8 +21,8 @@ Service Location Descriptor.
*/
-#ifndef _DVBPSI_DR_a1_H_
-#define _DVBPSI_DR_a1_H_
+#ifndef _DVBPSI_DR_A1_H_
+#define _DVBPSI_DR_A1_H_
#ifdef __cplusplus
extern "C" {
@@ -32,7 +32,7 @@ extern "C" {
typedef struct dvbpsi_service_location_element_s
{
uint8_t i_stream_type;
- uint16_t i_elementary_PID;
+ uint16_t i_elementary_pid;
char i_iso_639_code[3];
struct dvbpsi_service_location_element_s * p_next;
@@ -55,7 +55,7 @@ typedef struct dvbpsi_service_location_element_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 */
dvbpsi_service_location_element_t * p_first_element;
More information about the libdvbpsi-devel
mailing list