[libdvbpsi-devel] descriptors/dr_56: Fix teletext_descriptor (0x56) generation ( wrong size allocation)
mbenoit
git at videolan.org
Wed Dec 24 12:51:56 CET 2014
libdvbpsi | branch: master | mbenoit <mbenoit at anevia.com> | Mon Dec 15 21:55:30 2014 +0100| [339b5f21fb473ff5ed4c489f4b5acbba13a9fc79] | committer: Jean-Paul Saman
descriptors/dr_56: Fix teletext_descriptor (0x56) generation (wrong size allocation)
Signed-off-by: Jean-Paul Saman <jpsaman at videolan.org>
> http://git.videolan.org/gitweb.cgi/libdvbpsi.git/?a=commit;h=339b5f21fb473ff5ed4c489f4b5acbba13a9fc79
---
src/descriptors/dr_56.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/descriptors/dr_56.c b/src/descriptors/dr_56.c
index a0edb1f..4729cf0 100644
--- a/src/descriptors/dr_56.c
+++ b/src/descriptors/dr_56.c
@@ -105,7 +105,7 @@ dvbpsi_descriptor_t * dvbpsi_GenTeletextDr(dvbpsi_teletext_dr_t * p_decoded,
/* Create the descriptor */
dvbpsi_descriptor_t * p_descriptor =
- dvbpsi_NewDescriptor(0x56, p_decoded->i_pages_number * 8 , NULL);
+ dvbpsi_NewDescriptor(0x56, p_decoded->i_pages_number * 5 , NULL);
if (!p_descriptor)
return NULL;
More information about the libdvbpsi-devel
mailing list