aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2013-05-19 18:46:00 (GMT)
committerJean-Paul Saman <jean-paul.saman@m2x.nl>2014-02-04 09:52:03 (GMT)
commit4ed9972d8ead86f2d5358d22b4b6fe9d780d22ff (patch)
treed6b4c403909e45f9d8aaaeff6821c12f7b493c29
parentaa58f3a49930f0445254fa2d657fdfac2eae5ed4 (diff)
dr_a1: rename dvbpsi_service_location_element_s::i_ISO_639_language_code to i_iso_639_code
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
-rw-r--r--src/descriptors/dr_a1.c2
-rw-r--r--src/descriptors/dr_a1.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/descriptors/dr_a1.c b/src/descriptors/dr_a1.c
index b59445e..5a87f67 100644
--- a/src/descriptors/dr_a1.c
+++ b/src/descriptors/dr_a1.c
@@ -91,7 +91,7 @@ dvbpsi_service_location_dr_t * dvbpsi_DecodeServiceLocationDr(
p_element->i_stream_type = dvbpsi_get_bits(buf, 0, 8);
p_element->i_elementary_PID = dvbpsi_get_bits(buf, 11, 13);
- memcpy(p_element->i_ISO_639_language_code, &buf[3], sizeof(p_element->i_ISO_639_language_code));
+ memcpy(p_element->i_iso_639_code, &buf[3], 3);
if (p_decoded->p_first_element == NULL)
p_decoded->p_first_element = p_element;
diff --git a/src/descriptors/dr_a1.h b/src/descriptors/dr_a1.h
index d1ddf6a..ff865d5 100644
--- a/src/descriptors/dr_a1.h
+++ b/src/descriptors/dr_a1.h
@@ -33,7 +33,7 @@ typedef struct dvbpsi_service_location_element_s
{
uint8_t i_stream_type;
uint16_t i_elementary_PID;
- char i_ISO_639_language_code[3];
+ char i_iso_639_code[3];
struct dvbpsi_service_location_element_s * p_next;

Privacy Policy