aboutsummaryrefslogtreecommitdiffstats
path: root/src/descriptors/dr_a1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/descriptors/dr_a1.c')
-rw-r--r--src/descriptors/dr_a1.c2
1 files changed, 1 insertions, 1 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;

Privacy Policy