[libdvbpsi-devel] [PATCH] 0x40 descriptor syntax error fix and Makefile.am inclusion
Roberto Corno
corno.roberto at gmail.com
Wed May 9 16:44:31 CEST 2012
---
src/Makefile.am | 1 +
src/descriptors/dr_40.c | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 356bbc2..c0e4332 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -31,6 +31,7 @@ pkginclude_HEADERS = dvbpsi.h psi.h descriptor.h demux.h \
descriptors/dr_0d.h \
descriptors/dr_0e.h \
descriptors/dr_0f.h \
+ descriptors/dr_40.h \
descriptors/dr_42.h \
descriptors/dr_43.h \
descriptors/dr_44.h \
diff --git a/src/descriptors/dr_40.c b/src/descriptors/dr_40.c
index 6ee24f3..163b836 100644
--- a/src/descriptors/dr_40.c
+++ b/src/descriptors/dr_40.c
@@ -62,7 +62,7 @@ dvbpsi_network_name_dr_t* dvbpsi_DecodeNetworkNameDr(
/* Decode data */
p_decoded->i_name_length = p_descriptor->i_length <= 255 ?
- p_descriptor->i_lenght : 255;
+ p_descriptor->i_length : 255;
if (p_decoded->i_name_length)
memcpy(p_decoded->i_name_byte,
p_descriptor->p_data,
--
1.7.5.4
More information about the libdvbpsi-devel
mailing list