[libdvbpsi-devel] dr_a1: rename dvbpsi_service_location_element_s:: i_ISO_639_language_code to i_iso_639_code

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:46:00 2013 -0400| [4ed9972d8ead86f2d5358d22b4b6fe9d780d22ff] | committer: Jean-Paul Saman

dr_a1: rename dvbpsi_service_location_element_s::i_ISO_639_language_code to i_iso_639_code

Signed-off-by: Michael Krufky <mkrufky at linuxtv.org>

> http://git.videolan.org/gitweb.cgi/libdvbpsi.git/?a=commit;h=4ed9972d8ead86f2d5358d22b4b6fe9d780d22ff
---

 src/descriptors/dr_a1.c |    2 +-
 src/descriptors/dr_a1.h |    2 +-
 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;
 



More information about the libdvbpsi-devel mailing list